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

Support json path validator argument names #25

Open
MrHash opened this issue Aug 1, 2020 · 1 comment
Open

Support json path validator argument names #25

MrHash opened this issue Aug 1, 2020 · 1 comment

Comments

@MrHash
Copy link
Member

MrHash commented Aug 1, 2020

No description provided.

@MrHash
Copy link
Member Author

MrHash commented Aug 1, 2020

Thought it was possible to do this easily but first of all the available libs leave a lot to be desired.

Secondly, using flow/jsonpath generally always outputs an array, and it looks impossible to differentiated between a scalar value and a single result in a query. Probably a better approach would be to allow validators to iterate a result set and merge outputs so a single validator can be run iteratively on a path, with results recombined into the response payload. Still need to be able to pass a complete array input into a validator as well.

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