Wiznet
Wiznet6mo ago

GraphQL Mutation API Design

may be a dumb question. I'm new to graphql type api design coming from a rest controller api. Now often times with our rest api well have one service method to patch an object from a given patch. It seems like this may not be the way to go with graphql? Instead writing specific actions. Aka 'patchObjectName' instead of just 'patchObject' which takes a patch object. Is this correct design?
0 Replies
No replies yetBe the first to reply to this messageJoin