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

Using Option on FFI #4635

Merged
merged 4 commits into from
Feb 28, 2024
Merged

Conversation

robertbastian
Copy link
Member

This is ABI compatible but API breaking in C++ and arguably JS.

Copy link
Member

@Manishearth Manishearth left a comment

Choose a reason for hiding this comment

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

we can't land this until 2.0

@robertbastian
Copy link
Member Author

Do you consider this breaking in JS?

I'm happy to change the CPP1 generator to translate Option to diplomat::Result<T, std::monostate> to not have a breaking change there.

@Manishearth
Copy link
Member

I'm personally ok with breaking JS. I'll leave it up to @sffc

sffc
sffc previously approved these changes Feb 27, 2024
Copy link
Member

@sffc sffc left a comment

Choose a reason for hiding this comment

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

The JS change is breaking but the TS should help and I think we don't have very many JS users and the impacted functions are sufficiently in the corner that I'm okay with a changelog notice

@robertbastian robertbastian merged commit 7b5b7cc into unicode-org:main Feb 28, 2024
30 checks passed
@robertbastian robertbastian deleted the dipl-option branch February 28, 2024 18:15
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.

None yet

3 participants