Closed agenceplus-emillon closed 2 years ago
corresponds with https://aws.amazon.com/blogs/mobile/graphql-security-appsync-amplify/
cognito_groups
is correct directive name
Yes, it's a correct directive name, but the code can't build because the parameter is "cognitoGroups".
This should generate
AddArgument("cognito_groups", cognitoGroups);
or change the parameter name of
QueryBuilderParameter<IEnumerable<string>> cognitoGroups = null
sorry, I was mislead that the issue is in the generated GQL, not C#. New packages are uploaded now.
Thanks for your work, it's of great help. Sorry to have mislead you.
I will maybe make a fork to add the option to only generate data classes and enums.
I have this code generated:
It has generated cognito_groups instead of cognitoGroups.