Skip to content

feat: allow message.getTypeUrl provide custom typeUrlPrefix#1762

Merged
alexander-fenster merged 3 commits intoprotobufjs:masterfrom
kairlec:master
Jul 7, 2022
Merged

feat: allow message.getTypeUrl provide custom typeUrlPrefix#1762
alexander-fenster merged 3 commits intoprotobufjs:masterfrom
kairlec:master

Conversation

@kairlec
Copy link
Copy Markdown
Contributor

@kairlec kairlec commented Jul 7, 2022

I noticed that in many other language implementations (such as Java, CSharp), Google provides optional parameter typeUrlPrefix for the function pack or getTypeUrl


this pr is a re-request of #1665 , the original pr was mistakenly overwritten by the force push of the pull bot

@alexander-fenster alexander-fenster changed the title feat: allow message.getTypeUrl provide custom tyepUrlPrefix feat: allow message.getTypeUrl provide custom typeUrlPrefix Jul 7, 2022
Copy link
Copy Markdown
Contributor

@alexander-fenster alexander-fenster left a comment

Choose a reason for hiding this comment

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

Thank you! Now that we have some test coverage for CLI tools, I added a test (and regenerated part of the test files which was generated, so this added some extra files to this PR).

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