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

Update the Serializable trait to provide a default automatic toArray method #1791

Merged
merged 13 commits into from
Jul 6, 2024

Conversation

caendesilva
Copy link
Member

Updates the Serializable trait by providing a default toArray method implementation which return its public properties. Can be overridden for increased control and performance. Fixes #1783

Copy link

codecov bot commented Jul 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (c92c3e6) to head (ed13490).
Report is 1 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff             @@
##              master     #1791   +/-   ##
===========================================
  Coverage     100.00%   100.00%           
- Complexity      1762      1763    +1     
===========================================
  Files            182       182           
  Lines           4707      4709    +2     
===========================================
+ Hits            4707      4709    +2     

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

@caendesilva caendesilva marked this pull request as ready for review July 6, 2024 14:09
@caendesilva caendesilva merged commit c2f9d5d into master Jul 6, 2024
19 of 20 checks passed
@caendesilva caendesilva deleted the automatic-serialization-method branch July 6, 2024 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant