ba me oi con thanh cong roi
This commit is contained in:
@@ -59,5 +59,17 @@ export class MessageSchema extends PothosSchema {
|
||||
},
|
||||
}),
|
||||
}));
|
||||
|
||||
// mutations
|
||||
|
||||
// subscriptions
|
||||
// this.builder.subscriptionFields((t) => ({
|
||||
// messageSent: t.field({
|
||||
// subscribe: (_parent, _args, ctx) => {
|
||||
// return ctx.pubSub.asyncIterator('MESSAGE_SENT');
|
||||
// },
|
||||
// resolve: (payload) => payload as any,
|
||||
// }),
|
||||
// }));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user