-
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
bug: types for nested objects are not generated correctly #1
Comments
Thanks for posting! This repository definitely needs some more attention. |
Hi. I created a PR #2 that refactors the project with improved tooling, updated libs, adds github workflows. It also removes the requirement to have a mandatory I am happy to contribute more. I am planning to add the logic of the function refactor I did and add a lot of tests. For the tests I am also planning to add either MetaMasks or ethers library to dev-dependencies to test actual signing and verification with the generated types and if things really work as expected. |
The library is quite crucial for creating EIP712 signed verifiable credentials, so I think it would also be nice if it could be moved to a more important place like Veramo or VeramoLabs organization on GitHub. It would also make sense to add workflows for publishing on NPM and something for generating changelogs (like changesets). I am happy to provide both the publishing workflows and setup changelog generation with changesets. Just let me know if this is something that you think would improve the repository and think it is necessary. |
Current work in progress of the function rewrite can be found here. For now I added an optional parameter Feedback is welcome 😄 |
The library is used inside Veramo.
My code:
Error:
I already did a basic rewrite of the
getEthTypesFromInputDocHelper
function which works with nested objects and with arrays.The last part is also missing in the specifications.
The text was updated successfully, but these errors were encountered: