Skip to content
This repository was archived by the owner on Mar 24, 2020. It is now read-only.

Conversation

gabehayes
Copy link

Description of changes:
I was running into an error when generating documents appsync and graphql types.

The root of the issue had to do with generating queries when my schema was returning nested types. See this issue for more details.

To address, I added the maxDepth option to fileDetails when generating appsync or graphql types.

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

@gabehayes
Copy link
Author

@adrianhall Can you provide some guidance here? Is this not something you are looking to add to the plugin or is there a better way to approach this that I'm not thinking of?

Happy to help in any way I can.

@bsmith42
Copy link

bsmith42 commented Mar 7, 2019

This PR allows the same maxDepth argument to be passed in that is similar to the amplify CLI.

@danb235
Copy link

danb235 commented Apr 9, 2019

Any news on merging this?

Since promises aren't returned, the plugin may finish before files are written, resulting in empty files.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants