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

[Filters] Validation based upon filter description #1627

Closed
jdeniau opened this issue Jan 5, 2018 · 0 comments
Closed

[Filters] Validation based upon filter description #1627

jdeniau opened this issue Jan 5, 2018 · 0 comments

Comments

@jdeniau
Copy link
Contributor

jdeniau commented Jan 5, 2018

Hi,

If I am correct the filters are based upon OpenApi Parameter Object

They accept a required key, and nice things like enum, pattern, etc. but I don't think it's used by api-platform for now except for documentation and hydra:mapping generation.

Am I right or did I miss someting ?

If so, I will be pleased to open a PR with the start of query parameter validation.

Thank you

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

No branches or pull requests

2 participants