Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
GraphQL @auth transformer not working #142
I added API in my project with command
Then I decide to add auth role in order to allow user to get/create/update only their objects, so I add the
and I run
I did something wrong? I need to run a command to rebuild the GraphQL resolvers?
I think the problem reside in the resolvers generator, for example the createImage request
does not store the "owner" field, inside DynamoDB the situation is the same, every object stored does not have "owner".. so I think is impossible to detect it.
Hello I'm still having this issue.
The code in appsync does not update to account for @auth and no column is created to store the user in the DynamoDB table. I am using the correct Cognito App client.
The follow code is added to the resolvers file on my local computer: