(ctx)
| 162 | let secondPluginContext: SqlCommenterContext | undefined |
| 163 | |
| 164 | const firstPlugin: SqlCommenterPlugin = (ctx) => { |
| 165 | firstPluginContext = ctx |
| 166 | Object.assign(ctx, { mutated: true }) |
| 167 | Object.assign(ctx.query, { modelName: 'Hacked' }) |
| 168 | return { first: 'plugin' } |
| 169 | } |
| 170 | |
| 171 | const secondPlugin: SqlCommenterPlugin = (ctx) => { |
| 172 | secondPluginContext = ctx |