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: conditionally add "Service" to nice-grpc's generated service interface name #710

Conversation

krugi
Copy link
Contributor

@krugi krugi commented Nov 22, 2022

Considering the fact that Buf is gaining popularity and that their default lint configuration expects a "Service" suffix, it might be nice to avoid adding it to nice-grpc's interface name automatically.

Also, in Google's Resource Oriented Design documentation, services are suffixed with "Service" (here, service LibraryService).

If you prefer, I can implement it using an option (--ts_proto_opt=niceGrpcServiceSuffix).

@krugi krugi changed the title Conditionally add "Service" to nice-grpc's generated service interface name feat: conditionally add "Service" to nice-grpc's generated service interface name Nov 22, 2022
@stephenh
Copy link
Owner

Makes sense! Thanks @krugi !

@stephenh stephenh merged commit 7c39cc0 into stephenh:main Nov 25, 2022
stephenh pushed a commit that referenced this pull request Nov 25, 2022
# [1.134.0](v1.133.0...v1.134.0) (2022-11-25)

### Features

* conditionally add "Service" to nice-grpc's generated service interface name ([#710](#710)) ([7c39cc0](7c39cc0))
@stephenh
Copy link
Owner

🎉 This PR is included in version 1.134.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants