Skip to content

Conversation

@WickyNilliams
Copy link
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
Copy link

vercel bot commented Jul 5, 2023

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
Owner

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

@WickyNilliams
Copy link
Collaborator Author

WickyNilliams commented Jul 12, 2023

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

@spencermaxfield
Copy link

@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