-
-
Notifications
You must be signed in to change notification settings - Fork 59
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
Add 'cloneData' option to buildMemoryStorage #581
Conversation
Codecov Report
@@ Coverage Diff @@
## main #581 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 17 17
Lines 576 578 +2
Branches 188 190 +2
=========================================
+ Hits 576 578 +2
|
Looks like there is some issue with the CI |
The CI failed because of linting, please run |
I added a review to update the |
Thanks for your review. This is the first time writing typescript code. As yo ucan expect, my local configuration is not exactly mature right now 😅 I updated the test, but I'm not sure if this is enough, please let me know what you think. About Another note about this whole clone thing. I really think that the |
Yeah! I'm just not satisfied enough with the double name, any synonyms comes to your mind?
They may be, but i'd only make them default on the next major version as it will be a breaking change... Also, I'm not sure how the GC will behave on data being cloned everywhere. |
Add this comment to code coverage skip the structuredClone test Co-authored-by: Arthur Fiorette <[email protected]>
Co-authored-by: Arthur Fiorette <[email protected]>
Instead of But it would be more explicit and also more configurable to use an enum.
Where the user can specify one, both or none of the options (so an array of string maybe ?). I dont know how one would neatly implement this in typescript tho. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some linting
Thanks! |
See issue 580 for more details