apollo-feature-requests icon indicating copy to clipboard operation
apollo-feature-requests copied to clipboard

Return local-only fields in mutation responses

Open joel-wenzel opened this issue 2 years ago • 0 comments

Currently it seems local-only fields do not return in mutation responses.

To elaborate I have a query that returns type FooType and that same type is returned in the create mutation. I have a local only field applied on that type which correctly returns in query responses but not mutation responses.

Since the local only field is tied directly to the type it seems counter intuitive that it doesnt return in all cases of using that type.

It is possible to enhance apollo to allow this?

joel-wenzel avatar Jun 20 '22 12:06 joel-wenzel