Nice, but what actually hold me from moving away from Fastify are Schema Validation and OpenAPI integration. Would be nice to know if they are available and has typing (not that untyped ajv / @hapi/joi stuff).
What matters most to me is maintenance in the long run, after all.
It's a very good point! Deno is still relatively new and several frameworks haven't developed to a point yet where they support OpenAPI integration, automatic code generation, validation mechanisms, contract driven development etc.
There are signs of the community starting to address these gaps, as can be seen here:
github.com/alosaur/alosaur - Alosaur featured in the last section of the article supports OpenAPI generation and much more! Hoping to find some time to review it soon.
And I'm sure there are more examples that I've missed.
With respect to typings, Deno is certainly very strong on that front with the majority of frameworks (and modules in general) making use of Deno's first class TypeScript support.
I think it's a great time to get familiar with the new language and concepts, but perhaps keep Deno on the tech radar for a little while until it develops in maturity and stability for that confidence in long term maintenance and production use.
Nice, but what actually hold me from moving away from Fastify are Schema Validation and OpenAPI integration. Would be nice to know if they are available and has typing (not that untyped
ajv
/@hapi/joi
stuff).What matters most to me is maintenance in the long run, after all.
It's a very good point! Deno is still relatively new and several frameworks haven't developed to a point yet where they support OpenAPI integration, automatic code generation, validation mechanisms, contract driven development etc.
There are signs of the community starting to address these gaps, as can be seen here:
And I'm sure there are more examples that I've missed.
With respect to typings, Deno is certainly very strong on that front with the majority of frameworks (and modules in general) making use of Deno's first class TypeScript support.
I think it's a great time to get familiar with the new language and concepts, but perhaps keep Deno on the tech radar for a little while until it develops in maturity and stability for that confidence in long term maintenance and production use.
Is there a tutorial on how I can work Alosaur for this?
I haven’t written a tutorial myself, but there may be others out there for alosaur 😊
The repo itself has a good example of usage, see github.com/alosaur/alosaur#examples for a list of examples and github.com/alosaur/alosaur/tree/ma... for the OpenAPI example