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
Issue:
From issue bmresearch#22, generating code from an anchor idl which contains a docs element such as "docs":[ "String" ] will crash the code when executed.
Solution:
These lines of code will be able to look at the docs section without issue, however these changes do not generate code with the contents of docs.
Describe the bug
dotnet anchorgen crushes when there are docs section in the type
To Reproduce
In rust code add docs to any account by triple slash. Whan anchor generate idl, it will add "docs" to json
Expected behavior
Generator should ignore docs or, better, add docs to generated account model
Screenshots
The text was updated successfully, but these errors were encountered: