RisingStack / graffiti-mongoose

⚠️ DEVELOPMENT DISCONTINUED - Mongoose (MongoDB) adapter for graffiti (Node.js GraphQL ORM)
https://risingstack-graffiti.signup.team/
MIT License
382 stars 52 forks source link

Custom query thunk - accepts only InputObject types #133

Closed yoadsn closed 8 years ago

yoadsn commented 8 years ago

Overview of the Issue

The custom query function accepts the types object which only has the InputObject kind of the schema types. This might make sense for the Custom Mutations but why is it so also for the queries? Do I miss something?

Suggest a Fix

Perhaps pass both kinds, the input and the normal types of the schema.

tothandras commented 8 years ago

Does this help #149?

yoadsn commented 8 years ago

Yeah, awesome. I have implemented the same locally for testing.. When do you expect to deliver it?

tothandras commented 8 years ago

released in version 5.3.0 😉