Skip to content

BridgeJS: Fix optional String return handling in generated JS glue code#585

Merged
krodak merged 1 commit intomainfrom
yt/optiona-imports-fix
Feb 5, 2026
Merged

BridgeJS: Fix optional String return handling in generated JS glue code#585
krodak merged 1 commit intomainfrom
yt/optiona-imports-fix

Conversation

@kateinoigakukun
Copy link
Member

@JSFunction func makeOptionalString() throws -> String?
@JSFunction func makeUndefinedOrString() throws -> JSUndefinedOr<String>

Those imported functions returned corrupted Strings before.

@krodak krodak merged commit f03500f into main Feb 5, 2026
11 checks passed
@krodak krodak deleted the yt/optiona-imports-fix branch February 5, 2026 08:28
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