graphql/graphql-relay-js

Mutation code breaks if method returns void.

aatif-lahore opened this issue · 1 comments

payload.clientMutationId = input.clientMutationId;

I am using loopback-graphql-relay package in my project. There are few loopback methods that don't return anything. For those methods graphql-relay's code break.

Below is the example mutation.

mutation { User { UserResetPassword (input:{options:{email:"user@example.com"}}) { obj clientMutationId } } }

Fixed by #268