PedroBern / django-graphql-auth

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

Should UserNode be swappable? #135

Open portedison opened 2 years ago

portedison commented 2 years ago

Just like User model can be replaced and customised, can we do the same for UserNode? e.g. user = get_user_node(). This would be really useful for overriding the querysets / fields etc. But relay.py and mutations.py have a direct ref to UserNode, so if I override this, I then need to override those too?