async-graphql / examples

217 stars 54 forks source link

Actix runtime #37

Closed kennetpostigo closed 3 years ago

kennetpostigo commented 3 years ago

Hi,

I'm following a few actix tutorials and they all use [actix-web::main]. Why do you use [actix-rt::main]? Does that provide a benefit to `async-graphql?

sunli829 commented 3 years ago

These two macros are actually the same.

kennetpostigo commented 3 years ago

Thank you @sunli829 !