-
-
Notifications
You must be signed in to change notification settings - Fork 106
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
Inheritence on Request and Response types #300
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I'm trying to migrate into Grpc Code-First.
I thrown into a big problem.
I have a project called
xyz.Commons
in this project I just definedResponseBase
class, Like below:So in
xyz.Presentation.Dto
prject I have something similar to this:public class CreateUserResponse: ResponseBase { }
public class UpdateUserResponse: ResponseBase { }
and ...
from #19 I learnt that I should have something similar tho this:
Which is terrible IMAO. I can't update my
xyz.Common
project on every changes, because it's a nuget package.I just wanna use
Sharing
by doing this inheritance, I don't even think of Polymorphism there.The text was updated successfully, but these errors were encountered: