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

fix(cli): add feature flag to control subscription field redaction behavior #13827

Merged
merged 1 commit into from
Jun 19, 2024

Conversation

sundersc
Copy link
Contributor

Add a new FF for data plugin to allow customers to opt-in for a subscriptions field redaction behavior.

  • If the feature flag is disabled (when set to false), relational fields will be over-redacted in mutations response and subscribed clients won't receive this data in payload.
  • If the feature flag is enabled (when set to true), subscriptions will inherit the auth rules of the model for the relational fields. It means that the relational fields won't be over-redacted on mutations.

@sundersc sundersc requested a review from a team as a code owner June 19, 2024 20:03
@awsluja awsluja merged commit 4f9aadb into aws-amplify:dev Jun 19, 2024
5 checks passed
@DarylBeattie
Copy link

2 questions here:

  1. How do we use this feature flag?
  2. Does it work for the update mutations as well as the subscriptions?

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.

None yet

5 participants