- Fix mishandling of arrays in fragments
- Operation definition can also be a mutation (instead of only query)
Tolerate missing variables (to support optional arguments) Remove a circular dependency
Change typings from typed-graphql
to @types/graphql
.
Remove dependency on lodash completely, so this package now has zero runtime dependencies. Nice!
Roll back failed update in 1.1.0
Releasing 0.3.0 as 1.0.0 in order to be explicit about Semantic Versioning.
Add a set of utilities for easily filtering objects with fragments and queries.
This is essentially the code that lived in https://www.npmjs.com/package/graphql-fragments
- Added support for fragments. If there are multiple fragments in the provided document, the first one is used as the query.
- Remove dep on lodash.isarray
- Add enum support
- Add context arg to
fragmentMatcher
.
- Change the last argument to
options
, moveresultMapper
there, and addfragmentMatcher
.
- Changes were not tracker before this version.