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

feat: use zod to parse the yaml #1394

Closed
wants to merge 10 commits into from
Closed

feat: use zod to parse the yaml #1394

wants to merge 10 commits into from

Conversation

saihaj
Copy link
Member

@saihaj saihaj commented Jun 28, 2023

  • swap all the manifest usages to remove immutable
  • generate a JSON Schema
  • Test out YAML file autocomplete VsCode with JSON Schema
  • refactor manifest validation logic to not use immutable
  • add tests for manifest parsing

I am testing out with some example subgraphs and there are still things that break for this one

@changeset-bot
Copy link

changeset-bot bot commented Jun 28, 2023

🦋 Changeset detected

Latest commit: f7dcc6d

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@graphprotocol/graph-cli Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@cloudflare-pages
Copy link

cloudflare-pages bot commented Jun 28, 2023

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: f7dcc6d
Status: ✅  Deploy successful!
Preview URL: https://152f6b42.graph-tooling.pages.dev
Branch Preview URL: https://saihaj-typesafety.graph-tooling.pages.dev

View logs

@github-actions
Copy link
Contributor

github-actions bot commented Jun 29, 2023

🚀 Snapshot Release (alpha)

The latest changes of this PR are available as alpha on npm (based on the declared changesets):

Package Version Info
@graphprotocol/graph-cli 0.54.0-alpha-20230724180700-d5ce4e2 npm ↗︎ unpkg ↗︎

@saihaj saihaj mentioned this pull request Aug 9, 2023
@saihaj saihaj closed this Aug 9, 2023
@saihaj saihaj deleted the saihaj/typesafety branch August 9, 2023 19:07
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

1 participant