-
Notifications
You must be signed in to change notification settings - Fork 53
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
relatedTo along with orRelatedTo #144
Comments
This is merged. I'll leave the ticket open until it gets a stable tag. |
hey @BenParizek - give something like this a try: {
entriesConnection(relatedTo: [{ element: 1 }, { element: 2 }, { element: [3, 4] }]) {
...
}
} |
Awesome @woro83c! That gets me rolling again. |
Closing this issue. The fix is included in version 1.2.1. |
@markhuot It may be nice to add an example of multiple relationships like this to the docs. It may be obvious to some, but took me a longer than I'd like to admit to make the connection to the more complex syntax. It's always helpful to have a simple example to get started with and prove things work and a complex example that helps see all the different patterns that we could consider using. |
I'll re-open until I get the docs updated. Good idea. |
Heya. I'm needing to combine the functionality of both
relatedTo
andorRelatedTo
, e.g.:So basically I want all profiles that are related to entries 1 and 2 and (3 or 4). How would I go about doing this? Thanks!
The text was updated successfully, but these errors were encountered: