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
Type definition of type '*ast.IndexExpr' is not supported yet. Using 'object' instead.
Expected behaviour
I expect the generic field to be properly read and generated
Your swag version
I forked the repo to be able to release a version including the latest generic code changes https://github.com/chaintraced/swag
Your go version
e.g. 1.18.0
The text was updated successfully, but these errors were encountered:
johan-lejdung
changed the title
Generic Fields does not handle Arrays
Generic Fields does not handle Arrays (Type definition of type '*ast.IndexExpr' is not supported yet)
Aug 25, 2022
Describe the bug
Generic fields with Arrays still not supported even after #1305.
To Reproduce
Have a look at the following repo https://github.com/chaintraced/swaggo-issue-repo
On the
main
branch's latest commit you will see that it is not working as intended.It's outputting
Expected behaviour
I expect the generic field to be properly read and generated
Your swag version
I forked the repo to be able to release a version including the latest generic code changes
https://github.com/chaintraced/swag
Your go version
e.g. 1.18.0
The text was updated successfully, but these errors were encountered: