victorteokw / graphql-joker

GraphQL Joker is the ultimate GraphQL scaffolding tool.
GNU General Public License v3.0
74 stars 9 forks source link

support mongoose mix type #14

Closed victorteokw closed 6 years ago

victorteokw commented 6 years ago

reference will not be supported if using this type. however, mongoose doesn't know what's referenced also. So let's support this as a custom scalar type and not support reference yet.

victorteokw commented 6 years ago

GraphQL union type only supports object type. For string or int, or boolean or array. This is still a necessary feature.

victorteokw commented 6 years ago

When updating object which is defined as mixed, it has a merge behavior which is not what we want. And it triggers not updating bug.