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

Parameters: Yaml Extractor does not recognise constraints #6578

Open
alpox opened this issue Sep 3, 2024 · 0 comments
Open

Parameters: Yaml Extractor does not recognise constraints #6578

alpox opened this issue Sep 3, 2024 · 0 comments

Comments

@alpox
Copy link

alpox commented Sep 3, 2024

API Platform version(s) affected: 3.3.12

Description
Parameter constraints are not being read when defining the operation in yaml but can be defined in attribute definitions.

How to reproduce
Define an operation with parameters and constraints in a yaml file. The constraints will not be known / validated.

Additional Context
https://github.com/api-platform/core/blob/main/src/Metadata/Extractor/YamlResourceExtractor.php#L468

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