Skip to content

Conversation

@Saeris
Copy link

@Saeris Saeris commented Aug 24, 2018

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.

…export tests

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.
@coveralls
Copy link

coveralls commented Aug 24, 2018

Coverage Status

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

@Saeris Saeris changed the title use ES6 export, export all directives as default export, add default export tests use ES6 export, export all directives as default export, add default export test Aug 24, 2018
@lirown
Copy link
Owner

lirown commented Oct 24, 2018

conflicts?

@Saeris
Copy link
Author

Saeris commented Oct 24, 2018

Conflicts should be resolved

},
"homepage": "https://github.com/lirown/graphql-custom-directives#readme",
"dependencies": {
"lodash": "^4.17.5",
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why Lodash dependency twice?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants