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

fix(MemoryStorage): handling of readable streams for key-value stores when setting records #1852

Merged
merged 3 commits into from
Apr 4, 2023

Conversation

vladfrangu
Copy link
Member

Fixes an internally reported bug that caused streams provided to never be read and drained
This also corrects the validator for the value, and removes the other redundant checks that happen when validating an object (called constraints, which are extra validators on top of simple typeof checks) (this is also a feature request for shapeshift!). This might actually (finally) solve #1843 but testing needs to be done

@vladfrangu vladfrangu requested a review from B4nan March 29, 2023 15:24
@vladfrangu vladfrangu changed the title fix(MemoryStorage): fix handling of readable streams for key-value stores when setting records fix(MemoryStorage): handling of readable streams for key-value stores when setting records Mar 30, 2023
@B4nan B4nan merged commit a5ee37d into master Apr 4, 2023
@B4nan B4nan deleted the fix/streams-in-memory-storage branch April 4, 2023 07:20
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.

2 participants