Different Behavior in Playground and in Urql Client #1943
Unanswered
lorenzo-moni
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I am trying to create a registration form that checks if an user has already the entered credentials, then it sends a mail to the user email and after this it register with the register mutation.
To verify that the credential the user is using are not already taken I am using the following query.
and the following function (I only include it for clarity, the problem is not created by this.)
This query is supposed to return all user with the provided username and all the user with the provided email.
This query is completely working in the playground but when I use it with Urql client it only returns the admin user and not the users belonging to the subscriber role (which is the default role for users).
If somebody has an idea about why this is behaving in this way please let me know. Thank you in advance.
Beta Was this translation helpful? Give feedback.
All reactions