We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
code gen should avoid using *string in generated API spec. This makes it inconvenient to use the string value.
expected generated code to use string
type RequestItem struct { FirstName string `json:"firstName" binding:"required,max=128"` LastName string `json:"lastName" binding:"required,max=128"` }
type RequestItem struct { FirstName *string `json:"firstName" binding:"required,max=128"` LastName *string `json:"lastName" binding:"required,max=128"` }
v0.14.0
Follow the README in examples/database to generate code based on contract.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
code gen should avoid using *string in generated API spec. This makes it inconvenient to use the string value.
Expected Behavior
expected generated code to use string
Actual Behavior
Affected Version
v0.14.0
Steps to Reproduce
Follow the README in examples/database to generate code based on contract.
Checklist
The text was updated successfully, but these errors were encountered: