Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactored reply structure to a RecordsRead #817

Merged
merged 5 commits into from
Oct 7, 2024

Conversation

thehenrytsai
Copy link
Member

Currently the reply structure of a RecordsRead is quite messy: (duplicated properties, data stream nested in a message, inconsistent naming etc).

This is an attempt at cleaning it up with a flatter structure.

@codecov-commenter
Copy link

codecov-commenter commented Oct 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.72%. Comparing base (d667090) to head (221d938).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #817   +/-   ##
=======================================
  Coverage   98.72%   98.72%           
=======================================
  Files          74       74           
  Lines       11508    11509    +1     
  Branches     1661     1661           
=======================================
+ Hits        11361    11362    +1     
  Misses        141      141           
  Partials        6        6           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

csuwildcat
csuwildcat previously approved these changes Oct 4, 2024
LiranCohen
LiranCohen previously approved these changes Oct 7, 2024
Copy link
Member

@LiranCohen LiranCohen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🐐 🐐 🐐 🚀 🚀 🚀

🙏 This is already much cleaner!

Just a small nit.

src/handlers/records-read.ts Outdated Show resolved Hide resolved
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.

4 participants