Fix optimistic effects to work with fragments (#1683)
* Fix optimistic effects to work with fragments * Regenerate
This commit is contained in:
@ -1,11 +1,9 @@
|
||||
import { Person } from '~/generated/graphql';
|
||||
|
||||
import { GET_PEOPLE } from '../queries/getPeople';
|
||||
import { GetPeopleDocument, Person } from '~/generated/graphql';
|
||||
|
||||
export const getPeopleOptimisticEffectDefinition = {
|
||||
key: 'generic-entity-table-data-people',
|
||||
typename: 'Person',
|
||||
query: GET_PEOPLE,
|
||||
query: GetPeopleDocument,
|
||||
resolver: ({
|
||||
currentData,
|
||||
newData,
|
||||
|
||||
Reference in New Issue
Block a user