-
-
Notifications
You must be signed in to change notification settings - Fork 36
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
Comments
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. |
It's certainly a cool project! |
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. |
Implemented so far
The remaining generators are
|
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.
The text was updated successfully, but these errors were encountered: