Closed mildwonkey closed 1 year ago
In this example, the thema CLI generated the go types and bindings with no error, but calling the generated Lineage() function gives an error:
Lineage()
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. 😁
false alarm! I'm getting the expected error on the command line after a fresh build of the CLI ❤️
In this example, the thema CLI generated the go types and bindings with no error, but calling the generated
Lineage()
function gives an error: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. 😁