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 path parameters #2677
Comments
Hello, Fixed or still |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am sorry to ask my question here but i can't find a way to validate path parametes in api-platform.
Ex: for the following route: uriTemplate: '/companies/{ref}/employees', i wan't to make sure that {ref} is a valid string before hitting my database and returning http code 404.
The only solution i found on stackoverflow is this: https://stackoverflow.com/questions/73417064/api-platform-how-to-validate-parameter.
is there a way to do this in api-platform?
Thanks
The text was updated successfully, but these errors were encountered: