Skip to content

getUser(token) function location. From docs. #7354

Answered by trevor-scheer
HenryOwenz asked this question in Q&A
Discussion options

You must be logged in to vote

@HenryOwenz it is just example, yes. Here, getUser is a supposed function that uses a token sent via headers to look up a user object with some potentially useful details on it needed by your resolvers via the context object.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@HenryOwenz
Comment options

Answer selected by trevor-scheer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants