Provider Queries
The home for all GraphQL queries to be shared by Times Components. Having them in once place makes it easier to share them around and keep specific linting rules in one place
How to use
Simply import a query .graphql
file:
import exampleImport from "./example.graphql";
This is possible by using the babel-plugin-import-graphql
plugin. Typically you would
pass this into an Apollo GraphQL HOC such as connect
from the provider
package. They can also be used for testing and generating fixtures.
Contributing
Please read CONTRIBUTING.md before contributing to this package
Running the code
Please see our main README.md to get the project running locally
Development
The code can be formatted and linted in accordance with the agreed standards.
yarn fmt
yarn lint