We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Take the HelloWorld example:
public interface IGreeter : IActorGrain, IGrainWithStringKey { } public class Greeter : DispatchActorGrain, IGreeter { ... }
I would like to move IActorGrain and IGrainWithStringKey into a base interface:
IActorGrain
IGrainWithStringKey
public interface IBase : IActorGrain, IGrainWithStringKey { } public interface IGreeter : IBase { } public class Greeter : DispatchActorGrain, IGreeter { ... }
But when I do this I get an exception:
Warning System.InvalidOperationException: 'Type 'Demo.Greeter' can only implement single custom IActorGrain interface'
I userstand that when compiled to IL, Greeter gets compiled to:
public class Greeter : DispatchActorGrain, IGreeter, IBase { ... }
But as long as only IGreeter is registered as a reference to the Greeter grain, then there shouldn't be an issue.
I've created a PR to address this: #176
The text was updated successfully, but these errors were encountered:
Merge pull request #176 from Fifty3North/issue-175
59fb3ca
#175 Allow IActorGrain and GrainWithStringKey in inherited interface
No branches or pull requests
Take the HelloWorld example:
I would like to move
IActorGrain
andIGrainWithStringKey
into a base interface:But when I do this I get an exception:
I userstand that when compiled to IL, Greeter gets compiled to:
But as long as only IGreeter is registered as a reference to the Greeter grain, then there shouldn't be an issue.
I've created a PR to address this: #176
The text was updated successfully, but these errors were encountered: