Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validation of arrays and objects #2

Open
m-mohr opened this issue Jul 9, 2019 · 3 comments
Open

Validation of arrays and objects #2

m-mohr opened this issue Jul 9, 2019 · 3 comments

Comments

@m-mohr
Copy link
Member

m-mohr commented Jul 9, 2019

Currently, arrays and objects are not properly validated (see validateArgument in process.js). This is due to the fact that the JSON schemas can't handle our proprietary process graph variables or other custom types (from_node, from_argument). To solve this issue, we need a solution for Open-EO/openeo-api#183

@m-mohr
Copy link
Member Author

m-mohr commented Dec 18, 2019

Check Open-EO/openeo-api#183 (comment) for a solution.

@m-mohr m-mohr transferred this issue from Open-EO/openeo-js-commons Feb 3, 2020
@m-mohr
Copy link
Member Author

m-mohr commented Aug 13, 2020

For a bit of coverage we can use ProcessUtils.getElementSchema and validate elements against the sub schemas.

@m-mohr
Copy link
Member Author

m-mohr commented Sep 3, 2020

Basic validation is now available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant