-
Notifications
You must be signed in to change notification settings - Fork 6
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
[FIX] adapters/Memory: Return cloned resources #235
Conversation
f1e522f
to
09e6ba2
Compare
Missing tests |
True. I've just made sure that existing tests do not break, but we should also have new tests. I'll take care of it. |
Rebased + added tests |
As discussed today, we should also clone on write in order to have a similar behavior as with the FS Adapter where for example a resources content can't be changed after it has been written. On read however, we can use the createStream parameter to skip copying a resources content. |
This reverts commit 7bf3c6a.
This reverts commit 7bf3c6a.
Thank you for your contribution! 🙌
To get it merged faster, kindly review the checklist below:
Pull Request Checklist