loopback-graphql
loopback-graphql copied to clipboard
[ Question ] remoteMethod of type GET added as mutation?
Hi,
I was wondering if there is way of making a custom remoteMethod (for example: User.getCurrentUser) of type 'GET' to be available as a 'QUERY' instead of as a 'MUTATION'. After some research and debug If I declare my remoteMethod with accessType: 'READ' it dissapears alltogether from both Query and Mutation.
Thanks
Good idea. Will try to get to update it.
+++++