-
Notifications
You must be signed in to change notification settings - Fork 97
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
Failed to recognize directives input types #388
Comments
@Hideman85 hello, thank you for this report, I'll check it out. |
@Hideman85 unfortunately, it turns out that resolving/completion object directive arguments is not supported at all at the moment. I checked it in the 2.4.0 version to be sure it is not a regression. So, it will take some time to implement it, I think the fix will be available in the next release. |
I was having the same problem and in my testing it seems that as soon as any of the defined directives are invalid on the first level of input nested data types are not checked and marked as invalid, as soon as I've fixed the directive that was causing this the nested data types are checked. @Hideman85 I see that you are using Amplify as am I, the problem in my case was the
|
Any updates on this front? This is still happening in the @auth directive of amplify. Even when we use this defination
It will recognise "rules", but It will not recognise "allow" field within "rules". When can we expect this to be fixed? |
Should be fixed in 3.0.0. @noorulh06 Please, look at this comment #490 (comment). |
schema.gql
awsDirectives.graphql
The directives file is correctly included in
.graphqlconfig
and the directives don't have any issues. The issues come on the arguments of these directives and it looks like the plugin failed to find the input types. Can be related to #348I'am using the latest WebStorm with the latest plugin version (2.6.0)
The text was updated successfully, but these errors were encountered: