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

[Mercure] Add a normalization_context option in mercure attribute #3772

Merged

Conversation

alanpoulain
Copy link
Member

@alanpoulain alanpoulain commented Oct 20, 2020

Q A
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Tickets N/A
License MIT
Doc PR api-platform/docs#1189

Add a normalization_context in mercure attribute.
It allows for instance to use a different normalization group for publishing updates with Mercure. This way updates without sensitive data can be sent and differ from the data received when fetching the API.

Copy link
Member

@dunglas dunglas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@alanpoulain alanpoulain merged commit b5c72b7 into api-platform:master Oct 20, 2020
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