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

github-workflow schema from json.schemastore.org not working #777

Open
Holzhaus opened this issue Feb 20, 2025 · 0 comments
Open

github-workflow schema from json.schemastore.org not working #777

Holzhaus opened this issue Feb 20, 2025 · 0 comments

Comments

@Holzhaus
Copy link

The following schema does not work with typify: https://json.schemastore.org/github-workflow

Here's what I did:

  1. Encountered unhandled array validation
  2. This can be fixed for using this branch: https://github.com/Holzhaus/typify/tree/array-val (I'll open a PR soon-ish)
  3. Now it works, but the root struct is missing. I found this error: Empty module generated when no title #313
  4. I edited to schema and added a title, now I get:
    thread 'main' panicked at /home/jan/.cargo/git/checkouts/typify-06751e3ea48efeaf/776225f/typify-impl/src/merge.rs:1068:5:
    assertion failed: object_schema.pattern_properties.is_empty()
    
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

No branches or pull requests

1 participant