Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat!: Extract enums to top level and use them in Js interface #126

Merged
merged 6 commits into from
Apr 11, 2024

Conversation

enricocolasante
Copy link
Collaborator

@enricocolasante enricocolasante commented Apr 10, 2024

All enums are now top level types and exported to JS.

We opt-in to @JsExport via setting to not require the @OptIn annotation in combination with @JsExport

@enricocolasante enricocolasante changed the title Use enums in Js interface feat!: Extract enums to top level and use them in Js interface Apr 11, 2024
Copy link
Contributor

@jbee jbee left a comment

Choose a reason for hiding this comment

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

That was really straight forward :)

I think overall this was a good decision that made the code easy to grasp and got rid of some boilerplate/mapping code at the same time.

@enricocolasante enricocolasante merged commit c6ff765 into beta Apr 11, 2024
1 check 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.

3 participants