Skip to content

Conversation

@nexon
Copy link
Contributor

@nexon nexon commented Sep 11, 2023

In this PR I add the callbacks when dereferencing a document.

The approach that I took was basically defining DereferencedCallbacks & DereferencedCallbackMap And making OrderedDictionary conforming to LocallyDereferenceable So we can dereferencing Callbacks easily.

This also means that CallbackURL is now conforming to LocallyDereferenceable But basically return itself.

Copy link
Owner

@mattpolzin mattpolzin left a comment

Choose a reason for hiding this comment

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

Thanks for fixing this issue! One of the last remaining issues before creating the first v3.0.0 release candidate!

@mattpolzin mattpolzin merged commit beca680 into mattpolzin:release/3_0 Sep 12, 2023
@nexon
Copy link
Contributor Author

nexon commented Sep 12, 2023

No problem! Happy to help. 😀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

No open projects

Development

Successfully merging this pull request may close these issues.

Callbacks are not currently dereferenced when calling dereferenced(in:)

2 participants