◐ Shell
clean mode source ↗

BridgeJS: Enforce throws(JSException) for @JS protocol properties by krodak · Pull Request #564 · swiftwasm/JavaScriptKit

After chat with @kateinoigakukun we agreed to not pursue throws(JSException) alignment for @JS protocol right now.

This PR (properties) and #563 (methods) were implemented to address consistency feedback from #560. After seeing the full picture - especially the setter method pattern for properties and questions about closures - we think the added complexity isn't worth it at this stage.

For current use cases, the simpler non-throwing protocol API works fine.
So I'll

We can revisit alignment later if needed, now with implementation there is an understanding what it would actually take in user-facing interface, so gonna be easier to decide later on.