-
Notifications
You must be signed in to change notification settings - Fork 38
#[derive(Actor)] #1
Comments
main problem is we can have many different contexts. we can use something like |
@callym are you planing to work on any of the issues? |
I think we can do #[derive(Actor)] #[derive(Actor)]
#[ActorContext(HttpContext)] This wouldn't require Nightly as it can be done in custom derive (the same way |
What is the point? Even without macro actor definition takes only 3 lines. I don’t think it worse introducing macro |
@fafhrd91 I would really appreciate if we could implement this. "To answer What's the point?" -> The same as for As for the context. It seems the same situation as |
Should we add a custom derive for the
Actor
trait?Which expands to:
The text was updated successfully, but these errors were encountered: