Repository navigation
feat: introduce types for realtimekit bindings - #8823
Conversation
|
This pull request was not reviewed automatically because its author does not have write access to this repository. A maintainer with write access can start a review by commenting |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #8823 +/- ##
==========================================
- Coverage 68.01% 67.81% -0.21%
==========================================
Files 846 847 +1
Lines 219198 215027 -4171
Branches 32587 32588 +1
==========================================
- Hits 149081 145812 -3269
+ Misses 50876 49973 -903
- Partials 19241 19242 +1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
petebacondarwin
left a comment
There was a problem hiding this comment.
It feels strange to be using snake_case as properties in TypeScript. I appreciate that you are trying to match the format over the wire. But one could argue that the responses could be snake cased to by the time they arrive in TypeScript as return values from a binding? Or that they are not related since the request side and response side are different data sources?
I am not going to die on this hill since there is already a precedent in other bindings for this sort of thing. But it definitely goes against the expected conventions for TypeScript users.
|
Hey @petebacondarwin, thanks for your review. I agree that using snake_case would feel little weird for typescript customers but the existing customer base is already using it in their codebase, so that customers migrating away
No the request and response are using the same convention and the data source is also the same. |
petebacondarwin
left a comment
There was a problem hiding this comment.
Cool. Off we go then!
|
All contributors have signed the CLA ✍️ ✅ |
|
I have read the CLA Document and I hereby sign the CLA |
this PR cherry-picks commits from: #8032