Skip to content

refactor: introduce getInputClass/getOutputClass#8403

Closed
Cafeine42 wants to merge 2 commits into
api-platform:mainfrom
Cafeine42:intput-output
Closed

refactor: introduce getInputClass/getOutputClass#8403
Cafeine42 wants to merge 2 commits into
api-platform:mainfrom
Cafeine42:intput-output

Conversation

@Cafeine42

Copy link
Copy Markdown
Contributor
Q A
Branch? 4.3
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.

soyuka and others added 2 commits July 12, 2026 14:52
# Conflicts:
#	src/GraphQl/State/Provider/DenormalizeProvider.php
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.

Centralize Input/Output and Data Class Logic in Metadata

2 participants