Conversation
soyuka
commented
Oct 1, 2026
soyuka
commented
Oct 1, 2026
soyuka
commented
Oct 1, 2026
soyuka
commented
Oct 1, 2026
soyuka
marked this pull request as ready for review
October 2, 2026 09:30
Run the API Platform pipeline (read, deserialize, validate, security, serialize, respond) on a plain Symfony controller route and document the operation in OpenAPI and Hydra. The route owns the path, the operation reuses it through routeName.
- resource class is class ?? output, input alone throws - dedicated name collection factory for controller resources - GET/GetCollection default to read: false - cover get, getcollection, patch and delete in jsonld/json/csv
soyuka
force-pushed
the
feat/controller-api-operation
branch
from
October 2, 2026 09:36
99c8f57 to
e6c7e2e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
read,deserialize,validate,security,serialize,write) toggle the stagescontroller.service_argumentsare scanned at compile time, the resource class isclass??output??inputand becomes a resource if it isn't one already#[Route](orrouteNameon the operation),uriTemplateis forbiddenuse_symfony_listeners, stage defaults extracted from MainController intoOperationStageDefaults