Skip to content
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

Generate code for any web API supports async-graphql #35

Open
billy1624 opened this issue Aug 9, 2022 · 4 comments
Open

Generate code for any web API supports async-graphql #35

billy1624 opened this issue Aug 9, 2022 · 4 comments

Comments

@billy1624
Copy link
Member

It's alright to generate code for Poem web API as a proof-of-concept. But the code generator should be structure in a way that's easy to generate code for various web API listed below:

I think we don't need to support all at this stage. Just pick 2 would be enough.

@oscartbeaumont
Copy link

I just open-sourced httpz which could potentially help you with this issue. It is designed to make it so you can code your HTTP handler once and support all Rust webservers and serverless platforms. It's very early in development (currently only supporting Axum) but I am in the process of adopting it for rspc so I am going to be building it our over the next little bit.

It could be mutually beneficial to work together on it, if it meets your requirements for Seaography. Feel free to get in contact if you want to chat more about it.

@tyt2y3
Copy link
Member

tyt2y3 commented Sep 25, 2022

It's certainly a cool project!

@satvikpendem
Copy link

I agree, I'm using actix currently so having a separate webserver in poem doesn't make sense, or I'd have the change the generated poem code into actix which is easy enough now but I imagine could get unwieldly as Seaography progresses.

@karatakis
Copy link
Collaborator

karatakis commented Mar 30, 2023

Implemented so far

  • Poem
  • Actix

The remaining generators are

  • Warp
  • Tide
  • Rocket
  • Axum

@karatakis karatakis added this to the Good to have features milestone Apr 2, 2023
@SeaQL SeaQL deleted a comment from zemelLeong Oct 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Triage
Development

No branches or pull requests

5 participants