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

Marshal the shared.Date time value #86

Merged
merged 1 commit into from
Jan 9, 2024
Merged

Conversation

hawx
Copy link
Contributor

@hawx hawx commented Jan 8, 2024

When testing I noticed that date of birth wasn't being stored. I've added a custom marshal for dynamo here so it will, and ignore the IsMalformed field.

@hawx hawx self-assigned this Jan 8, 2024
@hawx hawx requested a review from a team as a code owner January 8, 2024 15:14
@hawx hawx force-pushed the store-the-time-for-dates branch from 7d37335 to a8c7def Compare January 8, 2024 15:29
@hawx hawx force-pushed the store-the-time-for-dates branch 2 times, most recently from e6156fb to b334938 Compare January 8, 2024 15:34
Currently only IsMalformed is being stored in Dynamo, as it only uses named
fields. Since a shared.Date where IsMalformed is true will give an error to
whatever is creating it I have chosen to Marshal as a date string.
@hawx hawx merged commit bb89ecc into main Jan 9, 2024
21 checks passed
@hawx hawx deleted the store-the-time-for-dates branch January 9, 2024 13:10
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