A scalar type was returned, but GraphQL was expecting an object

Currently, scalar as return types are not supported for custom queries/mutations but we plan to support it soon. There is already a request that we have for this and we’ll pick this up next month.

1 Like