I see the docs mention the use of write and read like so:
client.writeFragment$PersonSummary(
idFields: {'__typename': 'Person', 'id': '1'},
data: person.copyWith(name: 'Kurt'),
);
But from this change, the Fragment already knows its own typename : #247
Is it possible to generate a shorthand so I can just call it like so:
client.writeFragment$PersonSummary(
idFields: { 'id': '1'},
data: person.copyWith(name: 'Kurt'),
);
Or even better yet (since all of our idFields are the same for all our fragments):
client.writeFragment$PersonSummary(
id: '1'
data: person.copyWith(name: 'Kurt'),
);