Skip to content

refactor: introduce getInputClass/getOutputClass#8404

Open
Cafeine42 wants to merge 1 commit into
api-platform:4.4from
Cafeine42:intput-output
Open

refactor: introduce getInputClass/getOutputClass#8404
Cafeine42 wants to merge 1 commit into
api-platform:4.4from
Cafeine42:intput-output

Conversation

@Cafeine42

Copy link
Copy Markdown
Contributor
Q A
Branch? 4.4
Tickets Closes #7907, Replace #8338
License MIT

Introduce explicit inputClass, outputClass

Add getInputClass() / getOutputClass() — return the DTO class for deserialization/serialization, falling back to getClass() when no explicit DTO is configured. Return null when input: false / output: false.

@Cafeine42
Cafeine42 marked this pull request as ready for review July 16, 2026 14:03
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.

1 participant