Skip to content

Document per operation DTO usage #960

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

Merged
merged 2 commits into from
Oct 31, 2019

Conversation

julienfalque
Copy link
Contributor

The documentation about using DTOs only shows input and output attributes at the resource configuration level. This is a bit misleading because one might think only one input DTO and only one output DTO are supported, while they can be different for each operation.

@dunglas dunglas merged commit f4da9bd into api-platform:2.4 Oct 31, 2019
@dunglas
Copy link
Member

dunglas commented Oct 31, 2019

Nice one, thanks!

@julienfalque julienfalque deleted the per-operation-dto branch October 31, 2019 10:14
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

Successfully merging this pull request may close these issues.

2 participants