Skip to content
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

feat: APQ should persist queries only when inside an APQ flow #1124

Merged
merged 1 commit into from
Dec 12, 2024

Conversation

marcoreni
Copy link
Contributor

Closes #1123

While updating tests I noticed that the behavior I'm "fixing" was explicitely tested, so presumably desired. I haven't found any references of this on Apollo Server APQ flow, but now I'm unsure if this should be considered a Breaking Change or not.

Copy link
Collaborator

@mcollina mcollina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@mcollina mcollina requested a review from jonnydgreen December 11, 2024 16:28
@mcollina
Copy link
Collaborator

I'm a bit conflicted on the semversiness of this. What do you think?

Copy link
Contributor

@jonnydgreen jonnydgreen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jonnydgreen
Copy link
Contributor

I'm a bit conflicted on the semversiness of this. What do you think?

Good question! Based on the test here, I think this is technically a breaking change? https://github.com/mercurius-js/mercurius/pull/1124/files#diff-5c532c8a8a16879f154d85383fa4f7e9d816ac20e808665e21657277968479f7R398

So maybe a major version? wdyt?

@mcollina mcollina merged commit b5cfac8 into mercurius-js:master Dec 12, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Hash for persisted queries stored for standard POST requests
3 participants