Skip to content

Fix aliases on GQL M2A filters#26148

Merged
AlexGaillard merged 6 commits intomainfrom
issue-26133
Nov 17, 2025
Merged

Fix aliases on GQL M2A filters#26148
AlexGaillard merged 6 commits intomainfrom
issue-26133

Conversation

@ComfortablyCoding
Copy link
Member

@ComfortablyCoding ComfortablyCoding commented Nov 7, 2025

Scope

What's changed:

  • Aliases are now accounted for when building m2a filters
  • Added missing _alias property in type DeepQuery

Potential Risks / Drawbacks

  • Some filter breaks

Tested Scenarios

  • Expect m2a filter to support aliases
  • Expect m2a deep filter to support aliases

Review Notes / Questions

  • N/A

Checklist

  • Added or updated tests
  • Documentation PR created here or not required

Fixes #26133

@ComfortablyCoding ComfortablyCoding marked this pull request as ready for review November 11, 2025 00:39
@AlexGaillard AlexGaillard merged commit b5aff1a into main Nov 17, 2025
73 of 74 checks passed
@AlexGaillard AlexGaillard deleted the issue-26133 branch November 17, 2025 16:17
@github-actions github-actions bot added this to the Next Release milestone Nov 17, 2025
AlexGaillard pushed a commit that referenced this pull request Nov 19, 2025
* account for aliases in m2a replacement

* move tests under their own describe

* account for deep alias

* add tests

* add changeset
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 17, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

GraphQL alias breaks permission check on m2a field filters

3 participants