Skip to content

Proposal: Replace usage of class-transformer with Zod #520

@ahochsteger

Description

@ahochsteger

Context

class-transformer is used to create objects from JSON configs and handling default values properly.

Problem

Proposed Solution

  • Use Zod as a way to define the schema, validate data and do the defaults handling which works without experimental/less supported processing like reflect-metadata and decorators.

Metadata

Metadata

Assignees

Labels

internalChanges only affect the internal API

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions