UNPKG

graphql-fields

Version:

Turns GraphQLResolveInfo into a map of the requested fields

61 lines (30 loc) 675 B
# Changelog ## 2.0.3 (2019-03-02) ### Fixed - process object arguments ## 2.0.2 (2019-02-28) ### Fixed - process arguments passed as variables ## 2.0.1 (2018-12-04) ### Fixed - Correctly process list arguments ## 2.0.0 (2018-11-29) ### Added - @skip and @include directive parsing ## 1.3.0 (2018-11-15) ### Added - excludedFields option ## 1.2.1 (2018-10-12) ### Added - Updated dev dependencies ## 1.2.0 (2018-10-10) ### Added - option to parse subfield arguments ## 1.1.0 (2018-07-03) ### Added - IE 11 compatibility via Babel ## 1.0.2 (2017-01-24) ### Fixed - fix `fieldASTs` renamed to `fieldNodes` - typo in README.md ## 1.0.1 (2016-07-31)