-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to customize mutations response #127
Comments
Think I'm on the right track here. I created a custom mutation that inherits from Register, which allows me to use the register as I'd like to. The user is registered correctly and I can get the id now. Only thing missing is really how to overwrite the response with that extra parameter. That return did not do the trick. Pretty sure it's something simple, but I can't figure out, any help?
|
it's a pity that development and support in this library has been completely abandoned, because the library is good and useful, just need a bit of customization and better docs here and there. With the current status of things I don't think people should adopt it in their project. Sure it might be a good helping hand in the beginning of your project but once it grows in scope and you need to change things you'll fall into a situation where you'll be forced to use something else |
Hey, @Instrumedley Hope this helps, maybe you can try using this:
|
@Genza999 that's the same thing I tried |
Prerequisites
Description
Hi, I would like to customize the response of the Register mutation. I'd like to return the id of the recently created user, but I'm not finding any good example or tutorial anywhere on how can one achieve that. Is it possible?
The text was updated successfully, but these errors were encountered: