graphql-custom-directives icon indicating copy to clipboard operation
graphql-custom-directives copied to clipboard

use ES6 export, export all directives as default export, add default export test

Open Saeris opened this issue 7 years ago • 3 comments

Updated all files (except for src/directiveLocation) to use ES6 export syntax.

Changed the default export for the library to be an array of all directives to streamline usage in situations where a user wants to use all of the directives provided by the library.

Added a new test to ensure the default export is an array containing only instances of GraphQLDirective.

Updated README examples with new usage.

Saeris avatar Aug 24 '18 18:08 Saeris

Coverage Status

Coverage remained the same at 100.0% when pulling 8d6ba5a928babd65c42c9761252ad056aa245903 on Saeris:export-all-directives into 8ad5e70351343fa3374f80ac3335e472febaa42d on lirown:master.

coveralls avatar Aug 24 '18 18:08 coveralls

conflicts?

lirown avatar Oct 24 '18 10:10 lirown

Conflicts should be resolved

Saeris avatar Oct 24 '18 23:10 Saeris