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

Inconsistent lineage errors between thema cli and library #159

Closed
mildwonkey opened this issue May 18, 2023 · 1 comment
Closed

Inconsistent lineage errors between thema cli and library #159

mildwonkey opened this issue May 18, 2023 · 1 comment

Comments

@mildwonkey
Copy link

In this example, the thema CLI generated the go types and bindings with no error, but calling the generated Lineage() function gives an error:

schema 0.1 is not backwards compatible with schema 0.0:
required field is optional in subsumed value: header
value not an instance

The CLI commands should return the same error (and refuse to generate the code) (or otherwise be replaced)

Repro here: https://github.com/mildwonkey/thema-examples/tree/main/cli-errors

It's likely enough that this is a symptom of some other issue - we have a few reports of unclear and swallowed errors - do what you will with this issue. 😁

@mildwonkey
Copy link
Author

false alarm! I'm getting the expected error on the command line after a fresh build of the CLI ❤️

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