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
- Close this PR
- Revert BridgeJS: Enforce throws(JSException) on @JS protocol methods #563
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.