Title: BridgeJS: Enforce throws(JSException) on @JS protocol methods by krodak · Pull Request #563 · swiftwasm/JavaScriptKit · GitHub
Open Graph Title: BridgeJS: Enforce throws(JSException) on @JS protocol methods by krodak · Pull Request #563 · swiftwasm/JavaScriptKit
X Title: BridgeJS: Enforce throws(JSException) on @JS protocol methods by krodak · Pull Request #563 · swiftwasm/JavaScriptKit
Description: Overview Require throws(JSException) on @JS protocol methods, matching the import side (@JSFunction) behavior Fix generated protocol wrapper code to propagate throws effect Updated tests and documentation Test updates Protocol.swift test input: Added throws(JSException) to all protocol methods ExportAPITests.swift: Updated DataProcessor protocol methods with throws Regenerated snapshots Documentation Updated Exporting-Swift-Protocols.md with throws requirement and examples Motivation This partially addresses the inconsistency where @JSFunction (import side) requires throws(JSException) but @JS protocol methods (export side) didn't. Properties will be covered in separate PR 🙏🏻
Open Graph Description: Overview Require throws(JSException) on @JS protocol methods, matching the import side (@JSFunction) behavior Fix generated protocol wrapper code to propagate throws effect Updated tests and docum...
X Description: Overview Require throws(JSException) on @JS protocol methods, matching the import side (@JSFunction) behavior Fix generated protocol wrapper code to propagate throws effect Updated tests and docum...
Opengraph URL: https://github.com/swiftwasm/JavaScriptKit/pull/563
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:136509ee-d101-e72c-e8a5-25450f5e20f2 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | E386:1E91CE:26D3E15:321D630:6992996B |
| html-safe-nonce | 17eedfa2bd32770e3d4196e19a56fc6cec31d94f5809992e0ad58c5584eb41ee |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMzg2OjFFOTFDRToyNkQzRTE1OjMyMUQ2MzA6Njk5Mjk5NkIiLCJ2aXNpdG9yX2lkIjoiMjI5NzgzMDQxMDE5MTgwNDc3OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 1aefc90c60b173da62c6ac393721d2ed7a6a3266fa479d431d14f4a37bb85e39 |
| hovercard-subject-tag | pull_request:3240516452 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/swiftwasm/JavaScriptKit/pull/563/checks |
| twitter:image | https://avatars.githubusercontent.com/u/1955364?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1955364?s=400&v=4 |
| og:image:alt | Overview Require throws(JSException) on @JS protocol methods, matching the import side (@JSFunction) behavior Fix generated protocol wrapper code to propagate throws effect Updated tests and docum... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-cache |
| go-import | github.com/swiftwasm/JavaScriptKit git https://github.com/swiftwasm/JavaScriptKit.git |
| octolytics-dimension-user_id | 49500752 |
| octolytics-dimension-user_login | swiftwasm |
| octolytics-dimension-repository_id | 244832006 |
| octolytics-dimension-repository_nwo | swiftwasm/JavaScriptKit |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 244832006 |
| octolytics-dimension-repository_network_root_nwo | swiftwasm/JavaScriptKit |
| turbo-body-classes | logged-out env-production page-responsive full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 848bc6032dcc93a9a7301dcc3f379a72ba13b96e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width