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

Add support for all ZodEffects and ZodPipeline #9

Merged
merged 7 commits into from
Apr 17, 2023

Conversation

samchungy
Copy link
Owner

@samchungy samchungy commented Apr 17, 2023

Resolves #8

  • Add Support for ZodPipeline
  • Adds support for all ZodEffects

This adds a "CreateType" of "input" and "output".

Output Mode - Generating Responses

  • If transform is used it will throw an error as we cannot determine the type unless it is wrapped in a ZodPipeline.

Input Mode - Generating Requests

  • If preprocess is used it will throw an error as we cannot determine the type unless it is wrapped in a ZodPipeline.

@samchungy samchungy changed the title Add support for ZodEffects Add support for all ZodEffects Apr 17, 2023
@samchungy samchungy changed the title Add support for all ZodEffects Add support for all ZodEffects and ZodPipeline Apr 17, 2023
@samchungy samchungy added the enhancement New feature or request label Apr 17, 2023
@samchungy samchungy merged commit b681f99 into master Apr 17, 2023
@samchungy samchungy deleted the support-zod-effects branch April 17, 2023 12:38
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.

Input and Response Types
1 participant