Can't Use login_and_issue_token in GraphQL Mutation
carltonsmith opened this issue · comments
Carl Smith commented
The login_and_issue_token
method is limited to controllers, so can't be used in GraphQL mutations
hayfever commented
Assuming you're using graphql-ruby
, is this something you could use Context from your schema controller for? https://github.com/rmosolgo/graphql-ruby/blob/master/guides/queries/executing_queries.md#context
hayfever commented
Closing due to inactivity.