Closed lavirez closed 9 months ago
Thanks @lavirez
Aren't these directives for the Amplify CLI ? I don't think the Front end (Amplify JS) needs them. I also think that Amplify CLI removes them before deploying to AppSync, and I'm also pretty sure that AppSync will reject them.
Am I missing something?
Thanks @lavirez
Aren't these directives for the Amplify CLI ? I don't think the Front end (Amplify JS) needs them. I also think that Amplify CLI removes them before deploying to AppSync, and I'm also pretty sure that AppSync will reject them.
Am I missing something?
Thank you @bboure You are right these are for Amplify CLI About the AppSync rejecting the directives, I directly post the Schema from the AppSync console and it works pretty well
The situation is that I need the deployed gpql schema to be downloaded in my Amplify Flutter app.
If you are using Amplify in the front-end, there comes some directive that are required for code generation and schema generation, I think we need this awsome plugin to pass the those directives to the serverless deployment, so I added those directives to the Schema.ts