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

For chapter 8 AWS AppSync inDepth why are we changing the auto generated queries #54

Open
wispyco opened this issue Dec 22, 2020 · 1 comment

Comments

@wispyco
Copy link

wispyco commented Dec 22, 2020

At the very end we modify the listStages query this is a auto generated file, If I go an update my schema wont our changes get overwritten. Is there anything I can do about this.?

@Temez1
Copy link

Temez1 commented Jan 18, 2021

At the very end we modify the listStages query this is a auto-generated file, If I go and update my schema won't our changes get overwritten. Is there anything I can do about this.?

I was discussing this with one guy in Amplify discord and we ended up that the reason that it is not autogenerated might have something to do with the auto generator itself. So with nested structures, it doesn't end up in loops. This was just our guess and the guy, I was talking with said that it's better to write the queries manually anyway to get the data you need to avoid over-fetching.

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

No branches or pull requests

2 participants