Ok I did not realize that what I needed what
{
getGQLSchema {
generatedSchema
}
}
This gave me exactly what I needed and resolved all the errores. Except for one error.
A schema MUST have a query` operation defined.
This is very weird because there is a type Query in the result of the generated schema.
I made an issue now on the github of the plugin.
A schema MUST have a ‘query’ operation defined Error. But I have type Query in my schema. · Issue #458 · jimkyndemeyer/js-graphql-intellij-plugin (github.com)