Skip to content

Conversation

MaxDesiatov
Copy link
Contributor

The change adds a conditional import excluding the JavaScriptEventLoop module that's not yet fully compatible with Embedded Swift. With the JSObject type from the JavaScriptKit dependency, which is also now compatible with Embedded Swift, record types are now mapped to JSObject. As for fields marked as optional in originating IDL, these are now correctly mapped as optional in Swift.

The change adds a conditional import excluding the JavaScriptEventLoop module that's not yet fully compatible with Embedded Swift. With the `JSObject` type from the JavaScriptKit dependency, which is also now compatible with Embedded Swift, record types are now mapped to `JSObject`. As for fields marked as optional in originating IDL, these are now correctly mapped as optional in Swift.
@kateinoigakukun kateinoigakukun merged commit 4fbb046 into main Apr 23, 2025
0 of 2 checks passed
@kateinoigakukun kateinoigakukun deleted the maxd/use-jsobject branch April 23, 2025 13:17
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