Skip to content

test: add test case for query.or and relation field #7829

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

Conversation

ricmatsui
Copy link
Contributor

New Pull Request Checklist

Issue Description

Related issue: #7828

Adding relation constraints to a compound query for example: Query.or(...).equalTo('relationField', ...) does not work and no results are returned. This is because reduceInRelation only reduces the relations in the child queries and not the parent query.

Approach

Adding a similar test as the existing or queries on pointer and relation fields test

TODOs before merging

  • Add tests
  • A changelog entry is created automatically using the pull request title (do not manually add a changelog entry)

@parse-github-assistant
Copy link

Thanks for opening this pull request!

  • 🎉 We are excited about your hands-on contribution!

@ricmatsui
Copy link
Contributor Author

Superseded by #8203

@ricmatsui ricmatsui closed this Oct 24, 2022
@ricmatsui ricmatsui deleted the rm-repro-compound-query-relation branch October 24, 2022 03:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant