Skip to content

feat(graphql): support graphql files imported with import attributes in Rollup 5 - #2055

Open
TrickyPi wants to merge 1 commit into
rollup:masterfrom
TrickyPi:feat/rollup-5/graphql
Open

TrickyPi wants to merge 1 commit into
rollup:masterfrom
TrickyPi:feat/rollup-5/graphql

Conversation

@TrickyPi

@TrickyPi TrickyPi commented Nov 22, 2026 •

Copy link
Copy Markdown
Member

Rollup Plugin Name: graphql

This PR contains:

  • bugfix
  • feature
  • refactor
  • documentation
  • other

Are tests included?

  • yes (bugfixes and features will not be merged without tests)
  • no

Breaking Changes?

  • yes (breaking changes will not be merged unless absolutely necessary)
  • no

List any relevant issue numbers:

Description

In Rollup 5, import attributes are appended to id as a query string, with the original ID passed via rawId. Allow the query suffix in transform.filter.id and use transformOptions.rawId (falling back to id) in transform.handler.

@TrickyPi
TrickyPi requested a review from shellscape as a code owner November 22, 2026 04:52
@greptile-apps

greptile-apps Bot commented Nov 22, 2026 •

Copy link
Copy Markdown

Confidence Score: 5/5 · The PR appears safe to merge; no actionable defects were found.RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge; no actionable defects were found.

Reviews (7) · Last reviewed commit: "feat(graphql): support graphql files imp..." · Reviewed by Greptile

Comment thread packages/graphql/test/test.js Resolved
@TrickyPi TrickyPi changed the title fix(graphql): handle graphql files imported with import attributes in Rollup 5 feat(graphql): support graphql files imported with import attributes in Rollup 5 Nov 22, 2026
@TrickyPi
TrickyPi force-pushed the feat/rollup-5/graphql branch from ceb0521 to 1fa8bd7 Compare November 26, 2026 02:12
@TrickyPi
TrickyPi force-pushed the feat/rollup-5/graphql branch from 1fa8bd7 to e26aca0 Compare November 28, 2026 08:53
@TrickyPi TrickyPi mentioned this pull request Nov 28, 2026
3 of 9 tasks
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