aws-amplify-serverless-plugin icon indicating copy to clipboard operation
aws-amplify-serverless-plugin copied to clipboard

Allow Setting the "maxDepth" Option

Open gabehayes opened this issue 6 years ago • 3 comments

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 avatar Feb 07 '19 01:02 gabehayes

@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.

gabehayes avatar Feb 25 '19 22:02 gabehayes

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

bsmith42 avatar Mar 07 '19 20:03 bsmith42

Any news on merging this?

danb235 avatar Apr 09 '19 00:04 danb235