betodealmeida commented on issue #31438:
URL: https://github.com/apache/superset/issues/31438#issuecomment-2673100834

   > Does it make sense to ensure the same validations take place on the CLI 
and REST invocations? It seems strange that an object with encrypted_extra can 
sneak through the schema validation on the CLI version.
   
   I think it's OK to have a different validations for CLI and REST, since 
using the CLI implies direct access to the database. Because of this, allowing 
more powerful operations than the ones supported by the API makes sense, IMO. 
That said, I think the API should accept the encrypted extra, since it's not 
different than sending credentials when you create a DB.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org
For additional commands, e-mail: notifications-h...@superset.apache.org

Reply via email to