This code above doesn't work for me. I change "data:" to "input:" and works... If someone have the same problem, just replace "data:" to "input:" and it will working fine.
Thanks for this package, @joselfonseca . ;)
mutation { login(data: { username: "myemail@email.com", password: "123456789qq" }) { access_token refresh_token expires_in token_type user { id email name created_at updated_at } } }
Hello, I just released version 2.0 which uses input instead of data, thanks for pointing this out in the post, i have updated it.
github.com/joselfonseca/lighthouse...
i've also added registration routes
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
This code above doesn't work for me.
I change "data:" to "input:" and works...
If someone have the same problem, just replace "data:" to "input:" and it will working fine.
Thanks for this package, @joselfonseca . ;)
mutation {
login(data: {
username: "myemail@email.com",
password: "123456789qq"
}) {
access_token
refresh_token
expires_in
token_type
user {
id
email
name
created_at
updated_at
}
}
}
Hello, I just released version 2.0 which uses input instead of data, thanks for pointing this out in the post, i have updated it.
github.com/joselfonseca/lighthouse...
i've also added registration routes