Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ Question ] remoteMethod of type GET added as mutation? #81

Open
mariodan opened this issue Aug 9, 2017 · 2 comments
Open

[ Question ] remoteMethod of type GET added as mutation? #81

mariodan opened this issue Aug 9, 2017 · 2 comments

Comments

@mariodan
Copy link

mariodan commented Aug 9, 2017

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

@Tallyb
Copy link
Owner

Tallyb commented Aug 18, 2017

Good idea. Will try to get to update it.

@mikollaay
Copy link

mikollaay commented Oct 9, 2017

+++++

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants