Skip to content
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

Bypass "docs" in anchor idl during code generation #1

Merged
merged 1 commit into from
May 4, 2023

Conversation

EnderElement
Copy link
Owner

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.

Previously:
image

Next steps:
To add code to generate code using the docs from the idl, this I have zero clue how to do.

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.
@EnderElement EnderElement merged commit 406b246 into master May 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant