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

Update serialization logic #226

Merged
merged 4 commits into from
Jan 25, 2025
Merged

Update serialization logic #226

merged 4 commits into from
Jan 25, 2025

Conversation

samchungy
Copy link
Owner

@samchungy samchungy commented Jan 24, 2025

Defaults to passing the schema to fast-json-stringify if a schema provided is not a Zod Schema.

Resolves #225

This wouldn't have worked before 3.0.0 either but I guess this now works?

@samchungy samchungy changed the title Fix serialization logic Update serialization logic Jan 25, 2025
@samchungy samchungy merged commit 0350105 into main Jan 25, 2025
1 check passed
@samchungy samchungy deleted the fix-serializer branch January 25, 2025 10:03
@github-actions github-actions bot mentioned this pull request Jan 25, 2025
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.

The default serializerCompiler is incompatible with @fastify/under-pressure after v3.0.0
1 participant