-
Notifications
You must be signed in to change notification settings - Fork 22
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 .idl schemas #126
Generate .idl schemas #126
Conversation
@@ -17,8 +17,8 @@ export const exampleEnum: FoxgloveEnumSchema = { | |||
parentSchemaName: "ExampleMessage", | |||
description: "An example enum", | |||
values: [ | |||
{ name: "A", value: 1, description: "Value A" }, | |||
{ name: "B", value: 2, description: "Value B" }, | |||
{ name: "A", value: 0, description: "Value A" }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it worth putting a comment here that these need to start at 0 for omgidl enum support?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's fine without since the assertion will catch it if this were to change
Another thought, should we test this against |
Not sure if there is anything specific you would like me to review, but I took a look at a few of the generated schemas and they seem good. |
Adds OMG IDL definitions for Foxglove schemas.