awslabs / aws-mobile-appsync-sdk-android

Android SDK for AWS AppSync.
https://docs.amplify.aws/sdk/api/graphql/q/platform/android/
Apache License 2.0
105 stars 58 forks source link

Unable to generate models from schema #304

Closed manideepla closed 4 years ago

manideepla commented 4 years ago

I have a simple schema. And it has a mutation:

type Mutation { addUser(name: String): String }

When I download the schema and write a mutation: mutation AddUserMutation($name : String!) { addUser(name : $name) { id } }

I do not see any generated code in app\build\

AppSync SDK Version: 3.1.0

Android Studio Version: 4.1.0

manideepla commented 4 years ago

I put the files in the wrong folder. They should be under src/graphql/[package_name] Please improve the docs