-
Notifications
You must be signed in to change notification settings - Fork 94
Extended types are ignored #227
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
Comments
it'd be useful to get more information about the schema you're using — if you wouldn't mind, can you share the actual JSON representation of the schema that you started with? it'd also be useful to see how you're configuring this plugin in your |
I'm sorry, I don't get which informations you need. This is my entire schema defined in a Here is my module.exports = {
extends: ['plugin:react/recommended'],
plugins: ['graphql'],
rules: {
'graphql/template-strings': ['error', { env: 'apollo', schemaString }],
'graphql/required-fields': ['error', { env: 'apollo', schemaString, requiredFields: ['id'] }],
},
} I don't have myself a JSON representation of the schema. |
can you share the schemaString? or is it directly the SDL you shared
already?
…On Thu, May 16, 2019 at 5:54 AM Valentin Bailleul ***@***.***> wrote:
I'm sorry, I don't get which informations you need. This is my entire
schema defined in a schema.graphql file.
Here is my .eslintrc.js where schemaString is my entire schema as a
string :
module.exports = {
extends: ['plugin:react/recommended'],
plugins: ['graphql'],
rules: {
'graphql/template-strings': ['error', { env: 'apollo', schemaString }],
'graphql/required-fields': ['error', { env: 'apollo', schemaString, requiredFields: ['id'] }],
},
}
I don't have myself a JSON representation of the schema.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#227?email_source=notifications&email_token=AAIRCRVNH246NIBDYVTYZ6LPVVKQTA5CNFSM4HNC55K2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVRW3HA#issuecomment-493055388>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAIRCRWRT4V7SFI3GAXRBLLPVVKQTANCNFSM4HNC55KQ>
.
|
Yes, |
this took me down a huge rabbit hole and i found an answer. under the hood, however, afaik, i hope this helps! |
Hello 👋
My schema :
My query :
The warning I get :
Extended types are not supported by the plugin or am I doing something wrong ?
The text was updated successfully, but these errors were encountered: