Skip to content

remove naming suffixes #125

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

Merged
merged 1 commit into from
Feb 16, 2022
Merged

Conversation

tatethurston
Copy link
Owner

Removes 'Service' suffix from generated service types. Removes 'Handler'
suffix from 'create' helper.

This is a breaking change.

This enables better out of the box integration with buf which expects
service names to end with the Serice suffix. When following that
recommendation, TwirpScript would generate 'FooServiceService'.

Fixes #104

Removes 'Service' suffix from generated service types. Removes 'Handler'
suffix from 'create<Service>' helper.

This is a breaking change.

This enables better out of the box integration with `buf` which expects
service names to end with the Serice suffix. When following that
recommendation, TwirpScript would generate 'FooServiceService'.
@tatethurston tatethurston merged commit 154ae7e into main Feb 16, 2022
@tatethurston tatethurston deleted the tate/drop-service-naming-suffix branch February 16, 2022 17: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.

Service Name Generation
1 participant