Skip to content

Commit 89ac2ae

Browse files
committed
chore: small fixes
1 parent bcd3759 commit 89ac2ae

File tree

4 files changed

+1
-3
lines changed

4 files changed

+1
-3
lines changed

index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ for (const name of exampleNames) {
3030
addExample(require(resolveExamplePath(name)).default, name);
3131
}
3232

33-
// $FlowFixMe
3433
app.get('/', (req, res) => {
3534
res.send(mainPage());
3635
});

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
"graphql-subscriptions": "^1.2.1",
4848
"graphql-voyager": "1.0.0-rc.31",
4949
"mongoose": "6.0.5",
50+
"subscriptions-transport-ws": "^0.9.19",
5051
"ts-node": "10.2.1",
5152
"typescript": "4.4.3"
5253
},

scripts/buildSchema.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import { getIntrospectionQuery, printSchema } from 'graphql/utilities';
55
import { getExampleNames, resolveExamplePath } from '../config';
66

77
async function buildSchema(schemaPath) {
8-
// $FlowFixMe
98
const Schema = require(`${schemaPath}/schema`).default; // eslint-disable-line
109
const result = await graphql(Schema, getIntrospectionQuery());
1110
if (result.errors) {

tmp/northwind-federation/schema.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ ShipperTC.setDirectives([{ name: 'key', args: { fields: '_id' } }]);
7575
SupplierTC.setDirectives([{ name: 'key', args: { fields: '_id' } }]);
7676

7777
// implement `__resolveReference(reference)` methods in Resolvers
78-
// $FlowFixMe
7978
export const resolvers = schemaComposer.getResolveMethods();
8079
console.log(sc.get('SortConnectionProductEnum').toSDL());
8180
console.log(resolvers.SortConnectionProductEnum);

0 commit comments

Comments
 (0)