Skip to content

api: Use zod transform function on data #21

@MathiasDevelopes

Description

@MathiasDevelopes

We need to use more of the transform function included in Zod,

Examples of this need is normalizing all dates regardless of format into a instantiated Date class.
This will remove the need of calling functions in utils to do this for us.

https://zod.dev/api#transform

Metadata

Metadata

Labels

apiEverything pertaining to the API interface.enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions