Skip to content

Fix absinthe subscription regsitration#566

Merged
binaryseed merged 1 commit into
masterfrom
absinthe-operation-fix
Jun 30, 2026
Merged

Fix absinthe subscription regsitration#566
binaryseed merged 1 commit into
masterfrom
absinthe-operation-fix

Conversation

@binaryseed

Copy link
Copy Markdown
Collaborator

Fixes a bug in handling the stop span from an Absinthe subscription registration operation.

Closes #561

@binaryseed binaryseed force-pushed the absinthe-operation-fix branch from 4fc7887 to 44dd866 Compare June 30, 2026 04:39
Comment on lines +86 to +90
emitter =
case meta.blueprint.execution.result do
%{emitter: emitter} -> emitter
_ -> operation
end

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

fix: result isn't there for subscriptions, so protect against that

@binaryseed binaryseed merged commit bd0ab14 into master Jun 30, 2026
19 of 21 checks passed
@binaryseed binaryseed deleted the absinthe-operation-fix branch June 30, 2026 19:07
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.

NewRelic.Telemetry.Absinthe.handle_event/4 crashes with {:badmap, nil} on subscription registration

2 participants