Skip to content

Conversation

jeronimoalbi
Copy link
Member

This is a follow up to #184

PR changes the proto generate script to apply the changes from #184 to the generated files.

If merged, this is intended as a short term solution until the underlying Amino compatibility issue is discussed and solved.

The caveat of this patch based approach is that it might require some added effort to keep the patch file updated.

Copy link
Member

@zivkovicmilos zivkovicmilos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like this patch :)

I would love an even better fix for Amino on the monorepo, but we have to crawl before we can run

@@ -15,3 +15,17 @@ for x in ${FILES}; do
--ts_proto_opt="esModuleInterop=true,forceLong=long,useOptionals=messages,useDate=false,snakeToCamel=false,emitDefaultValues=json-methods" \
${x}
done

# Apply amino JSON compatibility changes to patch proto generated files.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you also make sure this is covered? 🙏

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done b2f3008

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.

2 participants