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

Generate zod schemas for bridging #1159

Draft
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

kriswest
Copy link
Contributor

The Quicktype project finally managed to merge my PR to fix zod schema generation, hence, its now possible to generate zod schemas for bridging use (and validating messages as they fly past) - they are exported as BridgingZodSchemas.

There is some small duplication as zod also infers TS types from the schemas, which is a duplication of the existing set exported as BridgingTypes... I haven't checked if these can be excluded.

Thoughts on this?

@kriswest kriswest added the Desktop Agent Bridging Desktop Agent Bridging Discussion Group label Feb 20, 2024
Copy link

netlify bot commented Feb 20, 2024

Deploy Preview for fdc3 ready!

Name Link
🔨 Latest commit 698872d
🔍 Latest deploy log https://app.netlify.com/sites/fdc3/deploys/6616a5f64515620008cfba53
😎 Deploy Preview https://deploy-preview-1159--fdc3.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@kriswest kriswest marked this pull request as draft February 20, 2024 16:25
@kriswest kriswest marked this pull request as ready for review April 23, 2024 16:35
@kriswest kriswest marked this pull request as draft September 2, 2024 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Desktop Agent Bridging Desktop Agent Bridging Discussion Group
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant