sikanhe / gqtx

Code-first Typescript GraphQL Server without codegen or metaprogramming
458 stars 13 forks source link

Support defaultValue in inputObjectType fields #56

Closed Ericnr closed 2 years ago

Ericnr commented 3 years ago

Currently t.inputObjectType's fields cannot take defaultValue's like in the graphql-js lib so I added a couple lines to fix this