Skip to content

Conversation

@knickish
Copy link
Owner

@knickish knickish commented Feb 22, 2025

Wasn't super happy with the solution to #34. This PR adds an expose attribute which defines the derive-created Diff and DiffRef types outside of the const _: () {} block normally used to prevent namespace pollution. Either [difference(expose)] or [difference(expose = "MyDiffName")] can be used to expose the type

@knickish knickish merged commit cd3c5a9 into master Feb 22, 2025
17 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.

1 participant