create-graphql-server icon indicating copy to clipboard operation
create-graphql-server copied to clipboard

Mutations for related data

Open bora89 opened this issue 8 years ago • 2 comments

Hi, that is a great project, thank you for you time!

It seems like generated code respects only querying with related data (likes, followers etc), but for mutations I do not see lets say addLiked, removeFollower. Is it not implemented yet or hard to program?

bora89 avatar Aug 27 '17 20:08 bora89

Hi @bora89, yes I think it could be possible we would need to think about the best API. Are you interested in submitting a PR?

tmeasday avatar Aug 27 '17 23:08 tmeasday

@tmeasday yes, I will investigate the code and see how that could be solved, if you have any ideas - write it here please.

bora89 avatar Aug 28 '17 09:08 bora89