Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
When I create a new datasource using the membrane API, it seems that the datasource is validated/tried after creation. It produces an error, but ends up having created the datasource regardless.
As a user I would prefer one of the two options:
1) fail fast: Validate the datasource before saving it.
2) fault tolerance: Let me create a datasource that may not work right now, but maybe will work later (ie. maybe a specific file or URL or credentials will be corrected soon).
To allow these two modes, I think we simply need to parameterize the call with a validation mode parameter.
Attachments
Issue Links
- links to