Override/Extend default register mutation #219
Unanswered
dominikklein
asked this question in
Q&A
Replies: 1 comment 5 replies
-
Hi @dominikklein , I think that for this particular mutation you need to call BWT |
Beta Was this translation helpful? Give feedback.
5 replies
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.
-
I tried to extend the default register mutation.
For this I added a own register mutation like this:
And added a registration for this mutation in the
mutation_type.rb
:field :user_register, mutation: Mutations::Register
But i have the following error:
I also tried this:
field :user_register, mutation: Mutations::Register, authenticate: false
, which leads to a different error:https://gist.github.com/dominikklein/b559ef9037d450fba33028427821c5a6
Can maybe someone help me, what I'm doing wrong?
Beta Was this translation helpful? Give feedback.
All reactions