I am trying to make a graphql update to a data object on my mock server. The data object's primary key is nested in another object. The structure looks like this:
type PersonId {
id_: String!
}
type Person {
person_id: PersonId
name: Name!
}
In my Apollo Client I declare that keyField as primary:
I have been working on this for quite a while and I can make the update when the id is on the People object but I can't seem to get things functioning with the nested structure.
I am trying to make a graphql update to a data object on my mock server. The data object's primary key is nested in another object. The structure looks like this: type PersonId {
In my Apollo Client I declare that keyField as primary:
However I am not able perform updates using that nested id.
I expect to be able to make updates to the People object with:
I have been working on this for quite a while and I can make the update when the id is on the People object but I can't seem to get things functioning with the nested structure.