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

Deep directive merge #772

Merged
merged 17 commits into from
Sep 13, 2022
Merged

Conversation

marcvberg
Copy link
Contributor

Description of changes

This allows public subscriptions to be generated on models, and adds use of a new feature flag to deep merge directive defaults. For a description of the behavior, see aws-amplify/amplify-cli#10597

Issue #, if available

internally tracked

Description of how you validated changes

Unit testing and sample application

Checklist

  • PR description included
  • yarn test passes
  • Tests are changed or added
  • Relevant documentation is changed or added (and PR referenced)
  • New AWS SDK calls or CloudFormation actions have been added to relevant test and service IAM policies

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@marcvberg marcvberg requested a review from a team as a code owner August 30, 2022 15:06
@lgtm-com
Copy link

lgtm-com bot commented Aug 30, 2022

This pull request introduces 2 alerts when merging b1368d7 into d7bf74d - view on LGTM.com

new alerts:

  • 2 for Unused variable, import, function or class

Copy link
Contributor

@phani-srikar phani-srikar left a comment

Choose a reason for hiding this comment

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

Two comments:

  • I pulled down the branch and the build is failing because the def of getArguments accepts options but not FF provider and you're padding the later from several places. Please check build-test and also cloud e2e.
  • We should either accept the options or the FF provider (I prefer the first one) from changed methods in V2 core, to avoid 2 sources of truth. In order to make the construction of these options easier & centralized, you could create a util function in V2 core that accepts the FF provider and gives back the options. This util function is meant to be used from V2 transformers and not from CLI, so from CLI invocation, we will still pass in the options.

@marcvberg
Copy link
Contributor Author

@phani-srikar Running tests against this now, I thought I had fixes for these things in the other branch I tried to merge in locally but I guess the fixes didn't make it for some reason

@lgtm-com
Copy link

lgtm-com bot commented Aug 30, 2022

This pull request introduces 1 alert when merging 1131948 into d7bf74d - view on LGTM.com

new alerts:

  • 1 for Unused variable, import, function or class

@lgtm-com
Copy link

lgtm-com bot commented Aug 30, 2022

This pull request introduces 1 alert when merging d14eb82 into d7bf74d - view on LGTM.com

new alerts:

  • 1 for Unused variable, import, function or class

@lgtm-com
Copy link

lgtm-com bot commented Aug 30, 2022

This pull request introduces 1 alert when merging 216b04c into d7bf74d - view on LGTM.com

new alerts:

  • 1 for Unused variable, import, function or class

@lgtm-com
Copy link

lgtm-com bot commented Sep 6, 2022

This pull request introduces 1 alert when merging 6792e4e into 98c021a - view on LGTM.com

new alerts:

  • 1 for Unused variable, import, function or class

@lgtm-com
Copy link

lgtm-com bot commented Sep 7, 2022

This pull request fixes 1 alert when merging 6de7a4a into 98c021a - view on LGTM.com

fixed alerts:

  • 1 for Unused variable, import, function or class

@lgtm-com
Copy link

lgtm-com bot commented Sep 8, 2022

This pull request fixes 1 alert when merging 49ff008 into 9ad36ac - view on LGTM.com

fixed alerts:

  • 1 for Unused variable, import, function or class

@lgtm-com
Copy link

lgtm-com bot commented Sep 12, 2022

This pull request fixes 1 alert when merging 79f2ec1 into c79232f - view on LGTM.com

fixed alerts:

  • 1 for Unused variable, import, function or class

Clone default args before merge to prevent any accidental leakage between different calls
Fix the isField value for object auth rules
@lgtm-com
Copy link

lgtm-com bot commented Sep 12, 2022

This pull request fixes 1 alert when merging 47435d8 into c324083 - view on LGTM.com

fixed alerts:

  • 1 for Unused variable, import, function or class

Copy link
Contributor

@phani-srikar phani-srikar left a comment

Choose a reason for hiding this comment

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

Mostly looks good. Just called out few left out lib imports and a question.

@lgtm-com
Copy link

lgtm-com bot commented Sep 13, 2022

This pull request fixes 1 alert when merging bbb7cdc into c324083 - view on LGTM.com

fixed alerts:

  • 1 for Unused variable, import, function or class

@lgtm-com
Copy link

lgtm-com bot commented Sep 13, 2022

This pull request fixes 1 alert when merging 357f364 into 0b7a1a5 - view on LGTM.com

fixed alerts:

  • 1 for Unused variable, import, function or class

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

3 participants