()
| 63 | } |
| 64 | |
| 65 | async onModuleInit(): Promise<void> { |
| 66 | if (!this.httpAdapterHost) { |
| 67 | return; |
| 68 | } |
| 69 | try { |
| 70 | this._apolloServer = await this.createServer(); |
| 71 | } catch (e: any) { |
| 72 | throw new Error(`create apollo server failed, ${e.message}`); |
| 73 | } |
| 74 | } |
| 75 | |
| 76 | async schemaListener(dbSchema: string, options: PostGraphileCoreOptions): Promise<void> { |
| 77 | // In order to apply hotSchema Reload without using apollo Gateway, must access the private method, hence the need to use set() |
nothing calls this directly
no test coverage detected