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

Upgrade quicktype and correct a schema error #1082

Merged
merged 4 commits into from
Oct 17, 2023

Conversation

kriswest
Copy link
Contributor

While trying to generate Zod schemas for bridging messages I upgraded quicktype (which now does a better job of controlling the const type fields in COntext and bridging message types via single value enums, and in a future version, via const declarations see glideapps/quicktype#2314).

However, I then ran into an issue with one of the bridging schemas, whose message type was missing from the enumeration of all message types. This PR:

  • applies the quicktype update,
  • corrects the missing message type
  • regenerates the context and bridging types exposed in the NPM module
  • updates the schemas files in 2.1 and next with the correction.

@kriswest kriswest added context-data FDC3 Context Data Working Group Desktop Agent Bridging Desktop Agent Bridging Discussion Group labels Sep 29, 2023
@kriswest kriswest requested review from mattjamieson, hughtroeger and a team September 29, 2023 14:42
@netlify
Copy link

netlify bot commented Sep 29, 2023

Deploy Preview for fdc3 canceled.

Name Link
🔨 Latest commit 645dd3b
🔍 Latest deploy log https://app.netlify.com/sites/fdc3/deploys/6516e29fe75cf70008da8e34

Copy link
Contributor

@mattjamieson mattjamieson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@kriswest kriswest merged commit 6cd2546 into master Oct 17, 2023
8 of 10 checks passed
@kriswest kriswest deleted the upgrade-quicktype-and-correct-a-schema-error branch October 17, 2023 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
context-data FDC3 Context Data Working Group Desktop Agent Bridging Desktop Agent Bridging Discussion Group
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants