You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On elm-graphql@1.1.0 I'm getting errors about missing RootQuery types in my generated object files.
Here is my output:
$ elm make src/Project/Object/AuthenticatePayload.elm --output\=elm.js --debug
Detected errors in 1 module.
-- NAMING ERROR ------------------ src/Project/Object/AuthenticatePayload.elm
I cannot find a `RootQuery` type:
42| query : SelectionSet decodesTo RootQuery -> Field (Maybe decodesTo) Project.Object.AuthenticatePayload
^^^^^^^^^
These names seem close though:
Order
Bool
Never
Result
Hint: Read <https://elm-lang.org/0.19.0/imports> to see how `import`
declarations work in Elm.
The workaround is to insert the following import:
import Graphql.Operation exposing (RootQuery)
But I'd really want to avoid doing that for all of my files. Besides, I'd prefer not to have to check the generated files into my git repository.
The text was updated successfully, but these errors were encountered:
On elm-graphql@1.1.0 I'm getting errors about missing RootQuery types in my generated object files.
Here is my output:
The workaround is to insert the following import:
But I'd really want to avoid doing that for all of my files. Besides, I'd prefer not to have to check the generated files into my git repository.
The text was updated successfully, but these errors were encountered: