Open ajayyy opened 3 years ago
@ajayyy would you be open to the idea of:
graphql
: it's strongly typed, so all the requests are type-checked before reaching the business logic. Removing the need for overcomplicating logic at runtime, Migration to Apollo could be done. Since the APIs are self-documenting, it also reduces need for publishing api-specs.hapi
: Hapi introduces schemas for type validation built over their own server layer. It can generate api-specs using plugins.
https://github.com/pksilen/validated-types