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

feat(graphql): use denormalization groups to allow creation of relation in mutation #4434

Merged
merged 1 commit into from
Sep 8, 2021

Conversation

alanpoulain
Copy link
Member

Q A
Branch? main
Tickets #1964 #3258
License MIT
Doc PR TODO

This PR does two things:

  • use only the new Operation instead of having both operation and operationName,
  • use denormalization context and groups to transform the required string (IRI) for a relation in a mutation input into an object with an optional ID, in the GraphQL schema.

@alanpoulain alanpoulain merged commit 1b41397 into api-platform:main Sep 8, 2021
vincentchalamon pushed a commit to vincentchalamon/core that referenced this pull request Oct 15, 2021
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