-
Notifications
You must be signed in to change notification settings - Fork 468
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom scalar types should be listed in typesUsed #40
Comments
@martijnwalraven just checked and not sure that the fix works: So I have next custom scalar type in my schema:
Product type:
Query:
Generated IR.json
"typesUsed": [] - is empty |
Are you sure you are running the latest version of |
will check again, with npm I'm not sure about anything :) |
yes it works fine |
ecstasy2
added a commit
to ecstasy2/apollo-codegen
that referenced
this issue
Dec 22, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Android GraphQL requires custom scalar types to be listed in
typesUsed
array in IR.json file.Custom scalar type should be defined in the same way as enum types. This definitions will be later used by android code generator and response adapters
For example:
The text was updated successfully, but these errors were encountered: