Skip to content

Conversation

mdoi2
Copy link
Contributor

@mdoi2 mdoi2 commented Oct 6, 2024

closed #305

Hi samchungy.

I have added a feature that resolves #305.

Added an options object argument to createDocument function to allow setting the value of defaultDateSchema.
After the SchemaState object is created, it is passed to each function by passing an options object to SchemaState object.

If you see any problems or shortcomings, please point them out to me.

@samchungy
Copy link
Owner

Hey thanks for the PR! This looks good from an initial look, I'll take a closer look this week!

@samchungy samchungy added the enhancement New feature or request label Oct 7, 2024
@samchungy samchungy merged commit a0a8bd4 into samchungy:master Oct 7, 2024
1 check passed
@samchungy
Copy link
Owner

Thanks for your contribution! I'll look to do a release tomorrow once I've sat on the changes for a bit :)

@mdoi2
Copy link
Contributor Author

mdoi2 commented Oct 7, 2024

Thank you for your confirmation and merge! 😆

I am very happy because this feature is important to me.

Thanks, samchungy🙏

@github-actions github-actions bot mentioned this pull request Oct 8, 2024
@mdoi2 mdoi2 deleted the feature/default-date-schema branch November 19, 2024 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Default string format setting for ZodDate

2 participants