We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66a9977 commit 3cb6679Copy full SHA for 3cb6679
src/graphql/schemas/index.js
@@ -1,6 +1,7 @@
1
import { fileLoader, mergeTypes } from 'merge-graphql-schemas';
2
import path from 'path';
3
+import _ from 'lodash';
4
-const typesArray = fileLoader(path.join(__dirname, './'));
5
+const typesArray = _.uniq(fileLoader(path.join(__dirname, './')));
6
7
export default mergeTypes(typesArray);
0 commit comments