Skip to content

Fix operation directive finalizer registration#5673

Open
ydah wants to merge 1 commit into
rmosolgo:masterfrom
ydah:fix-operation-directive-finalizer
Open

Fix operation directive finalizer registration#5673
ydah wants to merge 1 commit into
rmosolgo:masterfrom
ydah:fix-operation-directive-finalizer

Conversation

@ydah

@ydah ydah commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

The path in result.path = path does not exist in this scope, resulting in a NameError.

Furthermore, the order of arguments in add_finalizer(query, result, nil, data) is the reverse of the defined order: query, result_value, key, and finalizer. Simply correcting the undefined variables will still result in an incorrect registration.

@rmosolgo rmosolgo added this to the 2.6.6 milestone Jul 15, 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.

2 participants