Closed andres-gr closed 6 years ago
@andres-gr : Thanks for reporting the issue, I think that extension is not activated for you for some reason as the directive syntax highlighting is not working.
I was not able to reproduce this and it works for me.
Do you see a plug symbol with graphql in your status bar? This signifies that extension is in play.
If yes, can you please share a sample repository where this behavior can be observed.
Thanks!
@divyenduz thanks for the feedback, I guess I did have something wrong in my .graphqlconfig
file as it is now working after doing some changes to that file.
I guess I can close this issue.
Hello @divyenduz
I got the same bug, even if the plugin is running well
Is the plugin works only with Schema directives (and not directiveResolvers ?) My actual code follow this example: https://github.com/LawJolla/prisma-auth0-example
Thanks,
I have the same issue. The output tab in VS Code showed some weird errors, and I realized it's because of using a project name with a hyphen:
projects:
my-project:
[...]
It works fine for me now.
I have a custom directive declared in my local schema file, and it is throwing validation errors when used in this file.
[GraphQL: Validation] Unknown directive "withAuth"
Maybe it's a bug?
Maybe we can have an option in the settings for the extension to declare our own directives or maybe to ignore such errors.