-
Notifications
You must be signed in to change notification settings - Fork 3
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
paramgen sets the type 'string' for array fields #137
Comments
@hariso is this related to current work? Should we pull this in? |
@simonl2002 It isn't, the issue is present when specgen is not used too. To my knowledge, arrays are rarely used in Go code, so no need to pull this in right now. |
When would we actually want to use a fixed-size array in a config? 🤔 |
My guess is rarely (but I've still opened because it's a valid type). That's why we removed it from the board (I just noticed we didn't remove the |
Bug description
If a config struct contains an array field, e.g.
then paramgen generates the type
string
for this field.Steps to reproduce
See description.
Version
v0.5.0
The text was updated successfully, but these errors were encountered: