Skip to content

add multivalue where conditions on IDs in graphql, fix multivalue fil… - #17654

Merged
MikeAlhayek merged 1 commit into
OrchardCMS:mainfrom
MikeKry:fix/17653-multiwhere-graphql
Mar 24, 2025
Merged

MikeAlhayek merged 1 commit into
OrchardCMS:mainfrom
MikeKry:fix/17653-multiwhere-graphql

Conversation

@MikeKry

@MikeKry MikeKry commented Mar 22, 2025

Copy link
Copy Markdown
Contributor

Fixes #17653

Restores _in and _not_in filters on ID types
image

Cause by 3853b97#diff-08182851c6e450be93eadab38c390ba2450025dcf34165cecd3796b4e0d3fe5e

Fixes where in/not in filters, it was not possible to use array filter type - caused by unwrapping here 5dc244b#diff-08182851c6e450be93eadab38c390ba2450025dcf34165cecd3796b4e0d3fe5eR105

@MikeKry

MikeKry commented Mar 22, 2025

Copy link
Copy Markdown
Contributor Author

In case this is merged, can it please be added to some 2.1.X version?

@hishamco
hishamco requested a review from gvkries March 22, 2025 15:23
@MikeKry

MikeKry commented Apr 1, 2025

Copy link
Copy Markdown
Contributor Author

@MikeAlhayek / @gvkries
Thanks for merging :)

Can we merge this into 2.1.7 release please? It is breaking our websites currently

@MikeAlhayek

Copy link
Copy Markdown
Member

/backport to release/2.1

@github-actions

github-actions Bot commented Apr 1, 2025

Copy link
Copy Markdown
Contributor

Started backporting to release/2.1: https://github.com/OrchardCMS/OrchardCore/actions/runs/14196506677

@github-actions

github-actions Bot commented Apr 1, 2025

Copy link
Copy Markdown
Contributor

@MikeAlhayek backporting to "release/2.1" failed, the patch most likely resulted in conflicts:

$ git am --3way --empty=keep --ignore-whitespace --keep-non-patch changes.patch

Applying: add multivalue where conditions on IDs in graphql, fix multivalue filters
Using index info to reconstruct a base tree...
M	src/OrchardCore/OrchardCore.Apis.GraphQL.Abstractions/Queries/WhereInputObjectGraphType.cs
Falling back to patching base and 3-way merge...
Auto-merging src/OrchardCore/OrchardCore.Apis.GraphQL.Abstractions/Queries/WhereInputObjectGraphType.cs
CONFLICT (content): Merge conflict in src/OrchardCore/OrchardCore.Apis.GraphQL.Abstractions/Queries/WhereInputObjectGraphType.cs
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
hint: When you have resolved this problem, run "git am --continue".
hint: If you prefer to skip this patch, run "git am --skip" instead.
hint: To restore the original branch and stop patching, run "git am --abort".
hint: Disable this message with "git config set advice.mergeConflict false"
Patch failed at 0001 add multivalue where conditions on IDs in graphql, fix multivalue filters
Error: The process '/usr/bin/git' failed with exit code 128

Please backport manually!

@MikeAlhayek

Copy link
Copy Markdown
Member

@MikeKry the backport failed due to conflict. Please create a branch out of release/2.1 branch not main, apply the fix and create a PR targeting release/2.1 branch not main.

Ping me when you have the PR and I'll merge it.

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.

GraphQL breaking changes

4 participants