Skip to content

fix!: zod 4 support#232

Merged
sergiojoker11 merged 2 commits into
mainfrom
fix(breaking)/zod-4
Aug 2, 2025
Merged

fix!: zod 4 support#232
sergiojoker11 merged 2 commits into
mainfrom
fix(breaking)/zod-4

Conversation

@sergiojoker11
Copy link
Copy Markdown
Member

No description provided.

Comment thread src/types/pricing.ts
import type z from 'zod';

export type TierId = keyof z.input<typeof tierMapSchema>;
export type TierId = keyof z.infer<typeof tierMapSchema>;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Por curiosidad, ya no existen z.input/z.output?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

si, diria que si pero no me digas porque ya no funcionaba. A decir verdad tampoco entendia porque utilizaba .input porque tierMapSchema no tenia ningun refinement ni nda que modificase el tipo de salida.

@dsiguero dsiguero marked this pull request as ready for review August 2, 2025 10:03
@sergiojoker11 sergiojoker11 merged commit cc16b4f into main Aug 2, 2025
2 checks passed
@sergiojoker11 sergiojoker11 deleted the fix(breaking)/zod-4 branch August 2, 2025 10:42
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