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

fix: don't use z.lazy for primitive types #24

Merged
merged 1 commit into from
Mar 7, 2024
Merged

fix: don't use z.lazy for primitive types #24

merged 1 commit into from
Mar 7, 2024

Conversation

jrandolf
Copy link
Collaborator

@jrandolf jrandolf commented Mar 7, 2024

Additional validators rely on the underlying schema of lazy types.

@jrandolf jrandolf changed the title fix: use .schema for typename references fix: don't use z.lazy for primitive types Mar 7, 2024
@jrandolf jrandolf force-pushed the jrandolf/zod branch 2 times, most recently from 197cc8b to a9a061f Compare March 7, 2024 14:04
Additional validators rely on the underlying schema of lazy types.
@jrandolf jrandolf merged commit 8d2a872 into main Mar 7, 2024
2 checks passed
@jrandolf jrandolf deleted the jrandolf/zod branch March 7, 2024 14:11
jrandolf pushed a commit that referenced this pull request Mar 7, 2024
🤖 I have created a release *beep* *boop*
---


##
[0.1.4](cddlconv-v0.1.3...cddlconv-v0.1.4)
(2024-03-07)


### Bug Fixes

* don't use `z.lazy` for primitive types
([#24](#24))
([8d2a872](8d2a872))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
sadym-chromium added a commit to GoogleChromeLabs/chromium-bidi that referenced this pull request Mar 7, 2024
jrandolf pushed a commit to GoogleChromeLabs/chromium-bidi that referenced this pull request Mar 7, 2024
sadym-chromium added a commit to GoogleChromeLabs/chromium-bidi that referenced this pull request Mar 7, 2024
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.

None yet

2 participants