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(grpc): drop inheritance, use composition #735

Merged
merged 1 commit into from
Jan 18, 2023
Merged

Conversation

SonicGD
Copy link
Member

@SonicGD SonicGD commented Jan 7, 2023

Instead of requiring inheritance from base classes and interfaces now we can use any protobuf message and service. All call processing code now lives in injectable IGrpcCallProcessor. Requests and responses no longer need to implement interfaces. Processor will use duck typing to fill response with ApiResponseInfo if supported.

Also includes request validation.

@SonicGD SonicGD self-assigned this Jan 7, 2023
@SonicGD
Copy link
Member Author

SonicGD commented Jan 7, 2023

@pogromistik @thelegendaryzubat поглядите, как будет время =)

@SonicGD SonicGD merged commit c206053 into beta Jan 18, 2023
@sitkobot
Copy link
Collaborator

🎉 This PR is included in version 10.0.0-beta.5 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@sitkobot
Copy link
Collaborator

🎉 This PR is included in version 10.0.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@sitkobot
Copy link
Collaborator

🎉 This PR is included in version 10.0.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@SonicGD SonicGD deleted the grpc/remove-inheritance branch April 27, 2023 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants