Repository navigation
bundler: add --zod-compiler / zodCompiler for the zod schema compiler #39604
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
Open
robobun
wants to merge
24
commits into
main
Choose a base branch
from
farm/782b84e1/zod-transform-option
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 21 commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
78ba4e4
transpiler: compile zod v4 schemas into lazy wrappers with flat valid…
robobun 55bace0
zod transform: treat operators on pure operands as pure, allow any pu…
robobun 6c3d1ac
[autofix.ci] apply automated fixes
autofix-ci[bot] 42fe09d
zod transform: single-line comments for the flag plumbing sites
robobun 29e201b
zod transform: address review feedback
robobun e95a971
zod transform: delegate on inconclusive union options and unconsumed …
robobun d45a2f1
zod transform: preserve negative-zero defaults, simplify the catchall…
robobun 6f17ad1
zod transform: delegate optionals whose inner optionality is not stat…
robobun 71001ac
[autofix.ci] apply automated fixes
autofix-ci[bot] 35c1338
zod transform: only capture immutable bindings as runtime refs
robobun 147d5b3
zod transform: defer pick/omit/partial/required when a mask key is no…
robobun 7ee0efd
zod transform: do not capture imported bindings as runtime refs
robobun f2a34e8
zod transform: reject non-finite numeric literals and gate absent-key…
robobun 7b2ae8a
zod transform: match zod's pick key order and keep literal([]) constr…
robobun ee1f05c
bundler: add --zod-compiler / zodCompiler to turn on the zod schema t…
robobun cc832f6
zod transform: read whole rope strings, and defer checks on booleans …
robobun b764b8b
zod compiler: shorten the option comments
robobun bc83547
zod tests: rename the prefix inputs
robobun b9602db
zod transform: leave macro-remapped imports alone, and ignore states …
robobun 6cd0687
zod transform: a literal held by reference may be an array, so it nev…
robobun 6fa6ebf
bundler: reserve global names only for the runtime helpers a chunk keeps
robobun f06d414
bundler: shorten the reserved-name comments
robobun 290a809
zod transform: leave release-dependent and malformed inputs to zod, r…
robobun a466973
zod transform: a release-dependent input ends the fast path instead o…
robobun File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.