这是indexloc提供的服务,不要输入任何密码
Skip to content

Mutations should return the same types that the query is on to leverage client cache like apollo #315

@coco98

Description

@coco98

(via @thangngoc89#8365)

Is there a way to return the real type on mutation
for example, a mutation with that add a new note returns note_no_rels type
I understand why is that happens from PostgreSQL perspective
but this makes apollo cache very hard to use
in other projects, when the returning type is the same as query type
simply return the correct will update apollo cache

@0x777 this seems to be an important request. What are your thoughts?

Metadata

Metadata

Assignees

Labels

c/serverRelated to serverk/enhancementNew feature or improve an existing featurep/urgentImmediate action requireds/wipStatus: This issue is a work in progress

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions