PedroBern / django-graphql-auth

Django registration and authentication with GraphQL.
https://django-graphql-auth.readthedocs.io/en/latest/
MIT License
326 stars 105 forks source link

How can I customize or add to the register mutation more fields ? #152

Open phaniophrero opened 2 years ago

phaniophrero commented 2 years ago

For more information, see the CONTRIBUTING guide.

Description

I'd like to add some custom fields to the register mutation when I register a user like first_name, last_name, date_of_birth, address, city ... you got the idea

Steps to Reproduce

So I've tried to use the graphene_django to create a user mutation and DjangoObjectType but , now is not sending the email verification no more, the thing is that I'd still want to keep all those verifications and resets that graphql-auth brings , but I just want to have more fields in the register mutation and also to ask for password only once , not twice like it does right now.