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

mixed enums #67

Open
lizelive opened this issue Mar 17, 2023 · 1 comment
Open

mixed enums #67

lizelive opened this issue Mar 17, 2023 · 1 comment

Comments

@lizelive
Copy link

error: proc macro panicked
  --> src/main.rs:11:1
   |
11 | / schemafy::schemafy!(
12 | |     root: DevContainerBase // Optional name for the root type (if one exists)
13 | |     "schema/devContainer.base.schema.json"
14 | | );
   | |_^
   |
   = help: message: Expected string for enum got `true`

https://raw.githubusercontent.com/devcontainers/spec/main/schemas/devContainer.base.schema.json

seems to be caused by
#28

"gpu" is enum with true, false, or "optional"

@lizelive
Copy link
Author

i can patch the file to workaround but was wondering if there was better way?

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