Skip to content

Commit

Permalink
Fix wordind
Browse files Browse the repository at this point in the history
  • Loading branch information
sav007 authored Sep 12, 2017
1 parent a84efae commit ad12885
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ apollo {

### Explicit Schema location
By default Apollo-Android tries to lookup GraphQL schema file in `/graphql` folder, the same folder where all your GraphQL queries are stored.
For example if query files are located at `/src/main/graphql/com/example/api` then the schema file should be placed to the same location `/src/main/graphql/com/example/api`. Relative path of schema file to `/src/main/graphql` root folder defines the package name for generated models, in our example the package name of generated models will be `com.example.api`.
For example, if query files are located at `/src/main/graphql/com/example/api` then the schema file should be placed in the same location `/src/main/graphql/com/example/api`. Relative path of schema file to `/src/main/graphql` root folder defines the package name for generated models, in our example the package name of generated models will be `com.example.api`.

Alternatively, you can explicitly provide GraphQL schema file location and package name for generated models:

Expand Down

0 comments on commit ad12885

Please sign in to comment.