This repository was 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
Uh oh!
There was an error while loading. Please reload this page.
-
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 aTokenbe 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