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

Add standard corpus tests that generated Go code passes assignability checks #132

Open
sdboyer opened this issue Apr 28, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@sdboyer
Copy link
Contributor

sdboyer commented Apr 28, 2023

We should test that, for all the tests in our standard lineage corpus, the generated Go types are assignable to the schemas from which they were generated.

This'll be a bit of a nonstandard use of the corpus because we'll likely need something that writes out the generated go files to happen before running those tests, so that the generated types can be compiled into the test.

depends on #82

@sdboyer sdboyer added the enhancement New feature or request label Apr 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant