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

Consider edge case specification testing through code compilation #79

Open
bendbennett opened this issue Oct 24, 2023 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@bendbennett
Copy link
Contributor

Failure in code generation if nested attribute defines name with reserved Go keyword describes a bug in which usage of reserved Go keywords (e.g., type), when used as attribute names in nested attributes results in code generation failure.

It is worth adding specifications that test such edge cases by, for example, using reserved Go keywords as attribute names in nested attributes, and testing that the generated code compiles.

References

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