Skip to content
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

Bug: User Updation Anomoly #882

Closed
kb-0311 opened this issue Jan 22, 2023 · 1 comment · Fixed by #883
Closed

Bug: User Updation Anomoly #882

kb-0311 opened this issue Jan 22, 2023 · 1 comment · Fixed by #883
Assignees
Labels
bug Something isn't working

Comments

@kb-0311
Copy link
Contributor

kb-0311 commented Jan 22, 2023

Describe the bug
A clear and concise description of what the bug is.
In the updateUserProfile mutation , when the args does not contain one of the updation fields in data obj (email , lastName or firstName) , it replaces the values with null .
To Reproduce
Steps to reproduce the behavior:

Make a request to updateUserProfile Mutation with only one or two fields

Expected behavior
A clear and concise description of what you expected to happen.
The unspecified fields should not be replaced by null and instead remain with the values before the update request.
Actual behavior
A clear and concise description of how the code performed w.r.t expectations.

Screenshots
If applicable, add screenshots to help explain your problem.
Screenshot from 2023-01-22 17-04-10
Screenshot from 2023-01-22 17-06-26
After Mutation
Screenshot from 2023-01-22 17-08-11

Additional details

@kb-0311 kb-0311 added the bug Something isn't working label Jan 22, 2023
@github-actions github-actions bot added the unapproved Unapproved for Pull Request label Jan 22, 2023
@kb-0311
Copy link
Contributor Author

kb-0311 commented Jan 22, 2023

assign it to me

@palisadoes palisadoes removed the unapproved Unapproved for Pull Request label Jan 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants