You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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
The text was updated successfully, but these errors were encountered: