mirror of
https://github.com/vale981/Vulcan
synced 2025-03-05 09:31:43 -05:00
fix SchemaDirectiveVisitor import
This commit is contained in:
parent
4def8b8c48
commit
c81f58a91c
2 changed files with 3 additions and 3 deletions
|
@ -1 +1 @@
|
|||
export * from './links/state';
|
||||
export * from './links/state';
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// see https://github.com/apollographql/graphql-tools/blob/master/docs/source/schema-directives.md#marking-strings-for-internationalization
|
||||
|
||||
import {addGraphQLDirective, addGraphQLSchema} from '../modules/graphql';
|
||||
import {SchemaDirectiveVisitor} from 'apollo-server';
|
||||
import {SchemaDirectiveVisitor} from 'graphql-tools';
|
||||
import {defaultFieldResolver} from 'graphql';
|
||||
import {Collections} from '../modules/collections';
|
||||
import {getSetting} from '../modules/settings';
|
||||
|
@ -79,7 +79,7 @@ Migration function
|
|||
const migrateIntlFields = async defaultLocale => {
|
||||
if (!defaultLocale) {
|
||||
throw new Error(
|
||||
"Please pass the id of the locale to which to migrate your current content (e.g. migrateIntlFields('en'))"
|
||||
'Please pass the id of the locale to which to migrate your current content (e.g. migrateIntlFields(\'en\'))'
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue