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
{{ message }}
This repository has been archived by the owner on Sep 2, 2022. It is now read-only.
I am referring to this piece of documentation. I would like to create a getMyself query which would return the logged in user without needing id. My typings look as the following:
extend type Query {
getMyself: User!
}
Current behavior graphcool deploy fails with Schema Extension Error for function 'getMyself': Must provide return type. For example: type MyPayload { someField: Boolean }
Expected behavior?
It should be possible to return model from custom query or mutation.
The text was updated successfully, but these errors were encountered:
I am referring to this piece of documentation. I would like to create a
getMyself
query which would return the logged in user without needing id. My typings look as the following:Current behavior
graphcool deploy
fails withSchema Extension Error for function 'getMyself': Must provide return type. For example: type MyPayload { someField: Boolean }
Expected behavior?
It should be possible to return model from custom query or mutation.
The text was updated successfully, but these errors were encountered: