graphql-add-fields
v1.0.2
Published
Automatically adds `__typename` and `id` fields to graphql queries if missing.
Readme
graphql-add-fields
Automatically adds __typename and id fields to graphql queries if missing.
Used when nomalizing a graphql response for caching/storage.
Function extracted from graphql-normalizr
