You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Codegen ends up creating MutableIssueFields and MutableIssueFields.State. The parent object MutableIssueFields has a __selections property as you'd expect, but MutableIssueFields.State does not.
I'm trying to change the value from one "state" to another using a local cache mutation. However, when I try to load the MutableIssueFields.State object from the cache, I get an empty object because the __selections field is empty.
No your code looks correct, and this should be supported. It seems like it's a bug that the MutableIssueFields.State has an empty __selections. That shouldn't be.
Summary
I have a mutable fragment that has relationships to other objects, like this:
Codegen ends up creating
MutableIssueFields
andMutableIssueFields.State
. The parent objectMutableIssueFields
has a__selections
property as you'd expect, butMutableIssueFields.State
does not.I'm trying to change the value from one "state" to another using a local cache mutation. However, when I try to load the
MutableIssueFields.State
object from the cache, I get an empty object because the__selections
field is empty.I'm calling it like this:
Is this something that should be supported? If not, is there a preferred way to update this relationship to another existing object in the cache?
Version
1.14.1
Steps to reproduce the behavior
readObject
Logs
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: