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

feat: Implement enable_type_name config method #924

Merged
merged 1 commit into from
Dec 12, 2024

Conversation

mikhailzagurskiy
Copy link
Contributor

Sometimes for infrastructure purposes we need to get name of the type to build topics or subjects in message queue, based on the type name. The prost_build::Config type has an ability to auto implement prost::Name trait for any type. To do so, the config has enable_type_name() method, but that method wasn't passed through prost_grpc_build::Config. I've added such method to the config and have added example to show the value

@attila-lin
Copy link
Collaborator

Thank you!

@attila-lin attila-lin changed the title Implement enable_type_name config method feat: Implement enable_type_name config method Dec 12, 2024
@attila-lin attila-lin merged commit f61fcda into poem-web:master Dec 12, 2024
7 checks passed
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