-
-
Notifications
You must be signed in to change notification settings - Fork 65
"Expecting one more argument to ‘Boolean’" using Boolean
in client code
#583
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
Hi @th3coop . thanks. i will check it out. |
Hi @th3coop. this problem was already fixed in eralier versions. i don't know why this error ocoured again, but i will fix it. until that you can use just workaround. type Boolean = Bool which will teach the Morpheus Client that type Booelan is in Haskell |
@nalchevanidze thanks for the follow up. Will give that a try. |
is fixed in #589. I also added a test to avoid this in the next versions. |
I get the same error as #277 but that's closed fixed so reporting again.
Morpheus version: 0.17.0
Error:
Schema, a modified Starwars.graphql (altered name to be able to attach here):
starwars.txt
I changes line 3322 to
skip: Boolean
Client code StarWars.hs:
StarWars.txt
To even get it to that point I had to add the following lines to the file:
{-# LANGUAGE DataKinds #-}
at line 8and
import Data.Morpheus.Types (ScalarValue (..))
at line 23Thanks in advance for any help!
The text was updated successfully, but these errors were encountered: