This repository has been archived by the owner on Aug 14, 2024. It is now read-only.
Consider refactoring signInWithPassword
mutation to return a pure Token
type.
#124
zorn
started this conversation in
Code Questions / Concerns
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As I'm working on the authentication support in the GraphQL API, I am vaguely encouraged by Ash to add a query like this:
This results in a GraphQL response type of
UserWithMetadata
, which feels awkward. I'd almost rather it just return the token and have aToken
be a return type.Not going to follow up on this just yet. Would rather get something working with the defaults and then reconsider, but wanted to document my notes.
Beta Was this translation helpful? Give feedback.
All reactions