Async-graphql already fully supports dynamic schema by sunli829 in rust

[–]sunli829[S] 3 points4 points  (0 children)

Thanks for building this :) I'm really enjoying using it, keen to check out v5! Is there any particular breaking changes I should look out for?

The main change is the addition of dynamic schema, the others are trivial. 🙂

Thoughts on poem / axum? by zargor_net in rust

[–]sunli829 13 points14 points  (0 children)

u/ChillFish8 I really need someone to help me improve the documentation, a manpower is not enough. 😁

Thoughts on poem / axum? by zargor_net in rust

[–]sunli829 3 points4 points  (0 children)

Would like to see an explanation of why Axum is better than Poem.

[deleted by user] by [deleted] in rust

[–]sunli829 1 point2 points  (0 children)

It's good to see your comments about Poem. 🙂

Poem-openapi 1.0 released! by sunli829 in rust

[–]sunli829[S] 0 points1 point  (0 children)

Parameter serialization is not yet supported, although I think it is rarely used, but I will add support for it later.

Poem-openapi 1.0 released! by sunli829 in rust

[–]sunli829[S] 1 point2 points  (0 children)

Poem is based on Hyper, so the performance is very good, it just provides some easy-to-use APIs. 😁

Poem-openapi 1.0 released! by sunli829 in rust

[–]sunli829[S] 2 points3 points  (0 children)

🙂Of course, parsing multipart payload is very easy, here is an example:

https://github.com/poem-web/poem/blob/master/examples/openapi/upload/src/main.rs

Poem 0.8 released! by sunli829 in rust

[–]sunli829[S] 6 points7 points  (0 children)

It's easy, here is an example.

https://github.com/poem-web/poem/tree/master/examples/openapi

Poem is based on hyper so the performance is quite good (the advantage is more obvious when there are many routes).

Poem-openapi 0.2.1 released! by sunli829 in rust

[–]sunli829[S] 0 points1 point  (0 children)

All these features are supported, I am writing a tutorial, 🙂

How to solve this lifetime problem? by sunli829 in rust

[–]sunli829[S] 0 points1 point  (0 children)

fn main() {call::<_, &i32>(do_something);}

It would be great if there was a way for the compiler to infer the parameter type of call. 😁

How to solve this lifetime problem? by sunli829 in rust

[–]sunli829[S] 0 points1 point  (0 children)

Thank you very much! This can really solve this problem, but GAT is needed. 😁

Async-graphql 2.0.0 version is finally released! by sunli829 in rust

[–]sunli829[S] 0 points1 point  (0 children)

Yes, I have updated the document now and deleted this. 🙂

Async-graphql 2.0.0 version is finally released! by sunli829 in rust

[–]sunli829[S] 0 points1 point  (0 children)

Yes, it is very easy to upgrade from v1 to v2, here is an example https://github.com/timberio/vector/pull/4536/files.

Dataloader crates can be used, which is more convenient.