async-graphql / examples

217 stars 54 forks source link

Add `token-from-header` example for `axum` #55

Closed bramvanneerven closed 2 years ago

bramvanneerven commented 2 years ago

Hi, since nearly all integrations have this example and I saw that someone was confused because of the API differences between the actix-web and axum integration (https://github.com/async-graphql/async-graphql/issues/977), I thought it would be nice to add this to the repository for axum as well 😄.

sunli829 commented 2 years ago

Thanks! 🙂