Skip to content

Feature/missing zod chains on refs#177

Open
WickyNilliams wants to merge 4 commits into
astahmer:mainfrom
WickyNilliams:feature/missing-zod-chains-refs
Open

Feature/missing zod chains on refs#177
WickyNilliams wants to merge 4 commits into
astahmer:mainfrom
WickyNilliams:feature/missing-zod-chains-refs

Conversation

@WickyNilliams

Copy link
Copy Markdown
Collaborator

i've tried my hand at getting this just right, but everything always ends up slightly wrong. I can't quite work out where I need to tweak the code to get chains on the named refs, without breaking some other part of the output.

in the process of this, i have uncovered some existing snapshots which i think are incorrect and are related to this (see most recent commit)

just making a PR now as a point of disucssion. any advice on where might be best to handle this would be appreciated

@vercel

vercel Bot commented Jul 5, 2023

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
openapi-zod-client ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 5, 2023 3:45pm

@WickyNilliams WickyNilliams changed the title Feature/missing zod chains refs Feature/missing zod chains on refs Jul 5, 2023
@astahmer

Copy link
Copy Markdown
Owner

I'm sorry I have no idea and tbh no motivation to work on this project atm 😭

@WickyNilliams

WickyNilliams commented Jul 12, 2023

Copy link
Copy Markdown
Collaborator Author

damn. no worries, i totally get it [stares at my own open source projects whose existence i now resent]

@spencermaxfield

Copy link
Copy Markdown

@WickyNilliams I took a stab at adding support for "chained validations" on the sub-types of unions in this PR: #312

I'm not sure if it's the exact same thing you were trying to fix, but perhaps similar.

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.

3 participants