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 report]: Minor bug in OrganizationConnection and UserConnection Filter #403

Closed
sandeep-v1404 opened this issue Dec 18, 2021 · 3 comments · Fixed by #404
Closed

[Bug report]: Minor bug in OrganizationConnection and UserConnection Filter #403

sandeep-v1404 opened this issue Dec 18, 2021 · 3 comments · Fixed by #404
Assignees
Labels
bug Something isn't working

Comments

@sandeep-v1404
Copy link
Contributor

sandeep-v1404 commented Dec 18, 2021

Describe the bug
Filter in OrganizationConnection and usersConnection Query is not working as expected.

To Reproduce
Steps to reproduce the behavior:

  1. npm install
  2. npm start
  3. SignUp and Create an Organization.
  4. Query with organizationsConnection with where > id parameter.

Expected behavior
The organization with a specified Id should be the output.

Actual behavior
It returns an empty Array.

Screenshots

image

Additional details

I would like to fix this issue.

@github-actions github-actions bot added bug Something isn't working unapproved Unapproved for Pull Request labels Dec 18, 2021
@palisadoes palisadoes removed the unapproved Unapproved for Pull Request label Dec 18, 2021
@sumitra19jha
Copy link
Contributor

@sandeep-v1404 The organisation whose id you put in the query is public variable set to FALSE?

@sandeep-v1404
Copy link
Contributor Author

sandeep-v1404 commented Dec 19, 2021

@sandeep-v1404 The organisation whose id you put in the query is public variable set to FALSE?

No, Actually it was the problem with parameters in the code.

You can check these images.

  • MongoDB Compass
    image

  • GraphQL Query
    image

@sandeep-v1404
Copy link
Contributor Author

sandeep-v1404 commented Dec 19, 2021

@sumitra19jha And while playing with organizationsConnection, I encountered some other bugs too.

  • id_contains parameter under where
    image

  • id_starts_with parameter under where
    image

@sandeep-v1404 sandeep-v1404 changed the title [Bug report]: Minor bug in Filter of OrganizationConnection [Bug report]: Minor bug in OrganizationConnection and UserConnection Filter Jan 20, 2022
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.

3 participants