Skip to content

Fix fieldArgs application for steps with side effects (and connections thereof)#3065

Merged
benjie merged 6 commits into
mainfrom
volatile-query-function
Jun 26, 2026
Merged

Fix fieldArgs application for steps with side effects (and connections thereof)#3065
benjie merged 6 commits into
mainfrom
volatile-query-function

Conversation

@benjie

@benjie benjie commented Jun 8, 2026

Copy link
Copy Markdown
Member

Getting fieldArgs now builds resulting steps directly in the root layer plan. When applying fieldArgs to a step, we now set the current layerPlan to that step's layerPlan (since fieldArgs can only mutate a step, and so that step must be able to depend on any newly created steps, so they must be in the target layerPlan).

@changeset-bot

changeset-bot Bot commented Jun 8, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: fad001e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
graphile-build-pg Patch
postgraphile Patch
grafast Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@benjie benjie force-pushed the volatile-query-function branch from fad001e to 9446f64 Compare June 26, 2026 09:31
@benjie benjie enabled auto-merge June 26, 2026 09:36
@benjie benjie merged commit 6498c1c into main Jun 26, 2026
65 checks passed
@benjie benjie deleted the volatile-query-function branch June 26, 2026 09:47
@github-actions github-actions Bot mentioned this pull request Jun 26, 2026
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.

filter is exposed on a query-tagged VOLATILE function connection, then crashes Grafast at runtime

1 participant