What is Owl?
Is a component of the Zuu framework designed to be stacked on top of Mink and provide all the juicy, nightly, experimental code in the new GraphQL stack ;)
Want to contribute?
Everyone loves GraphQL... for many reasons. It solves many of the REST's problems (underfetching, overfetching, unwanted resource access, unwanted resource fields exposure, the big number of request enpoints and many more...)
Developing GraphQL in TypeScript for the nodejs platform is a pain... Mainly because you have to write your types twice (your internal interfaces and also the exposed SDL schema [ if you don't know what i'm talking about, go learn GraphQL then comeback and continue ;) ]).
If there only was a cool piece of code that could transform those cool ESNext decorators (that TypeScript already provides experimental suport) to the SDL schema automagically... OH WAIT! THERE IS! That's exactly what owl aims at doing :) (and much more)
You can define your custom schema types using decorators like
@Field(type?) like so:
Name by convention.. Easy to define using
@Resolver decorator. Inside a resolver you can definde queries (
@Query), mutations (
@Mutation) and subscription (
@Subscription). You can also inject the current context, mutation or query arguments and the PubSub engine in the methods!