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 : permissable passing of date for generic versioned storage #1736

Merged
merged 2 commits into from Mar 25, 2023

Conversation

SorsOps
Copy link
Member

@SorsOps SorsOps commented Mar 23, 2023

Currently Generic versioned storage expects to receive date values in unix time. This has been changed to be more permissable considering that we emit ISO strings when sending out values.

This fix required an update to zod to get the coerce functionality for dates and safe parsing,

@six7 six7 changed the base branch from main to release-135_3 March 24, 2023 22:39
@github-actions
Copy link
Contributor

Commit SHA:da9fe2f4403aed5aebda8306259250b3846f102c

Test coverage results 🧪

Code coverage diff between base branch:release-135_3 and head branch: fix/generic-versioned-storage-date 
Status File % Stmts % Branch % Funcs % Lines
🟢 src/storage/GenericVersionedStorage.ts 82.61 (0.39) 62.5 (0) 100 (0) 81.82 (0.42)

@six7 six7 merged commit 712ad27 into release-135_3 Mar 25, 2023
5 checks passed
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.

None yet

2 participants