-
Notifications
You must be signed in to change notification settings - Fork 184
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
Generic type parameters #412
Comments
Unfortunately no :( I haven't made any progress on this since filing #257. |
Oh, no problem, thank you for your quick response! I also see that defining custom types inside the trait is not allowed. Is there any way around that or is it just a blocker for now? |
Also, please feel free to close this issue since it's a duplicate of #257. |
I think it's essentially a blocker. RPC services can't be generic over types at all, whether that's a type parameter on the trait or an associated type in the trait. Closing in favor of #257 but feel free to comment more there! |
Can I have a generic type as a parameter to the service?
or maybe as
?
Thanks
The text was updated successfully, but these errors were encountered: