apollo-storybook-decorator
apollo-storybook-decorator copied to clipboard
Wrap your storybook environment with Apollo Client, provide mocks for isolated UI testing with GraphQL
Latest is now 4.x.x. What would it take to upgrade the dependency here to latest?
When using apolloStorybookDecorator, I get an error from apollo client that "You must specify link & cache properties on the config object". Not sure what I can do to resolve...
Currently, only `mock` is passed onto graphql-tools. However, [resolverMaps](https://www.apollographql.com/docs/graphql-tools/resolvers.html#Resolver-map) is needed to support [custom scalars](https://www.apollographql.com/docs/graphql-tools/scalars.html#custom-scalars). Please add `resolverMaps` as an argument as well.
``` undefined is not a function (evaluating 'definedDirectives[typeof Symbol === "function" ? Symbol.iterator : "@@iterator"]()') KnownDirectives parser.js:97:9 bundle.umd.js:332:16 validateSDL bundle.umd.js:331:19 assertValidSDL bundle.umd.js:337:31 buildASTSchema definition.js:644:34 buildSchemaFromTypeDefinitions OverlappingFieldsCanBeMerged.js:587:2 makeExecutableSchema createClient initializeApollo extendResolversFromInterfaces.js:13...
If `import apolloStorybookDecorator from 'apollo-storybook-react';` I get the following error ``` undefined is not an object (evaluating 'navigator.userAgent.length') ``` Not really sure how to get around this issue
Bumps [css-what](https://github.com/fb55/css-what) from 2.1.2 to 2.1.3. Commits 2db00ca 2.1.3 dc51092 fix(css-selectors): extend regex to include superscript in range, fix #27 (#28) a5f1991 Test on node LTS See full diff in...
Bumps [css-what](https://github.com/fb55/css-what) from 2.1.2 to 2.1.3. Commits 2db00ca 2.1.3 dc51092 fix(css-selectors): extend regex to include superscript in range, fix #27 (#28) a5f1991 Test on node LTS See full diff in...
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 1.1.0 to 1.4.2. Release notes Sourced from loader-utils's releases. v1.4.2 1.4.2 (2022-11-11) Bug Fixes ReDoS problem (#226) (17cbf8f) v1.4.1 1.4.1 (2022-11-07) Bug Fixes security problem (#220) (4504e34)...