3 ms·
We did run into that in v0.8 and just submitted a patch to resolve what was causing our issues in one case, in another - we just download Open API spec and edit
by therpeterson 4y ago
We did run into that in v0.8 and just submitted a patch to resolve what was causing our issues in one case, in another - we just download Open API spec and edited out offending complexity.
For more context, our deciding factor was that mesh and other tools that look the same didn't come with the things like Automatic Retry and pre/post hooks that run in an efficient way as they do with WunderGraph. We decided that the small up-from cost of cleaning up a OpenAPI spec from a static config was worth the stability and flexibility we got from using WG.
When you say serverless, do you mean running as a Cloud Function? With WunderGraph cloud you can deploy it as serverless, just as an FYI. We deployed serverlessly in our own IaC setup but cloud wasn't out yet.
- morbicer 4y agoManually cleaning specs is something I would like to avoid, our oas are generated from code so they would have to be re-cleaned after every endpoint addition/change. Great to hear reasons why you picked WG over Mesh, there's not many resources online that compares these next-gen gateways. Yes by serverless I mean AWS Lambdas, Cloudflare Workers etc. I am leaning towards deploying in k8s where rest of the stack is but it's nice to have the flexibility.
- therpeterson 4y agoYeah, we started going the k8s route and after burning about 90K with a partially working setup - we found WunderGraph trying to remove complexity of a Service Mesh, and API Gateway, etc. I get not wanting to manually adjust the OpenAPI Spec - curious what the offending code is as we've pulled in quite a few larger OpenAPI spec's without issue. I wonder if there's a #ref / definitions case that's unhandled.
- deleted 4y ago[deleted]