-
Notifications
You must be signed in to change notification settings - Fork 739
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
Error: Introspection result missing directive locations #665
Comments
Looks like the error message was added in graphql/graphql-js#1429, in response to dotansimha/graphql-code-generator#556 (comment). So yeah, I think it's a backend issue. It's a bit late over here and I'm a bit blurry, so I'll tackle this in the morning, but any thoughts on how much backend work this might be? I can't tell how much the introspection schema's changed since last year, heh… |
Definitely seems like the error is in parsing the schema - if you try to parse it locally using the apollo CLI, is it parsing? I honestly haven't the faintest idea how much work that is on the BE, I'm pretty purely a mobile dev. I know the team has tried to keep the changes as minimal as possible but I'd look at the migration guides from 1.x to 2.x for the CLI, that might have some suggestions |
@noahemmet Since it seems like this is an issue with some combo of backend and tooling rather than with iOS specifically, do you mind if we close this out? |
Go for it! |
Figured it out! The Vapor extension I was using wasn't including the |
Ooh! Neat project 🤓 |
Hi! I'm upgrading to version 0.13.0 and I'm running into some issues with the build script. When I run it, I get the following error:
My build script is set up like so:
A few notes:
@directives
in my.graphql
files.Schema.json
file that's incompatible with the latest Apollo code gen?--passthroughCustomScalars
, and some--includes
path globs.Any ideas? Thanks!
The text was updated successfully, but these errors were encountered: