decapi icon indicating copy to clipboard operation
decapi copied to clipboard

Create GraphQL API by decorating TypeScript classes

Results 17 decapi issues
Sort by recently updated
recently updated
newest added

Hi @capaj! Thanks for forking and extending this! I'm trying to implement GraphQL with TypeORM, so far so good, the GraphQL part is working pretty nicely, but I am not...

question

field type and castTo should crash upon generating the schema if they get an interface type as input

enhancement

``` @Field() edit(name: string) { this.name = name return this } ``` ``` Error: Class Function cannot be used as a resolve type because it is not an @ObjectType at...

enhancement

currently even if we're extending an interface, we still have to specify `implementors` explicitly. It could be automatically added when a prototype is an interface type.

enhancement

same as https://github.com/19majkel94/type-graphql/blob/master/examples/simple-subscriptions/resolver.ts we should support subscriptions.

enhancement
hacktoberfest

It should be possible to run decapi in the browser-this would be ideal for building like a playground editor where a user can play with decapi without having to install...

enhancement
hacktoberfest