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

Fix formatter issue with message literals with any syntax #2650

Merged
merged 2 commits into from
Dec 8, 2023

Conversation

jhump
Copy link
Member

@jhump jhump commented Dec 7, 2023

This was recently pointed out to me by @jacobbuf. The formatter simply didn't handle the special Any syntax in message literals: it would drop the leading domain and slash and only print the message type name.

Fixes #2651

@jhump jhump requested a review from bufdev December 7, 2023 23:15
@jhump
Copy link
Member Author

jhump commented Dec 8, 2023

@bufdev, I just added a note to the changelog about this. PTAL

@jhump jhump merged commit b06ab38 into main Dec 8, 2023
7 checks passed
@jhump jhump deleted the jh/fix-formatter-when-msg-literals-have-any-syntax branch December 8, 2023 15:45
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.

buf formatter dropping type when prefixed with url
2 participants