Skip to content

Fix from_definition with extras#5557

Merged
rmosolgo merged 1 commit intomasterfrom
from-defn-extras
Feb 25, 2026
Merged

Fix from_definition with extras#5557
rmosolgo merged 1 commit intomasterfrom
from-defn-extras

Conversation

@rmosolgo
Copy link
Owner

Oops, I "optimized" this in https://github.com/rmosolgo/graphql-ruby/pull/5509/changes#diff-1ff8d09dd48483a2bba959cc7627c912707deca2e3fd7e8896aaf1b9807fe7ad but it broke when extras were added to the field after definition.

This adds a spec based on #5555 and reverts the change.

Fixes #5555

@rmosolgo rmosolgo added this to the 2.5.21 milestone Feb 25, 2026
@rmosolgo rmosolgo merged commit 59382c5 into master Feb 25, 2026
13 checks passed
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.

Regression in 2.5.20: lookahead passed as keyword arg breaks Schema.from_definition resolver lambdas

1 participant