-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
chore(server-utils): Simplify injectChannelSubscribers
#23033
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| import type { InstrumentationConfig } from '..'; | ||
| import { toSubscribeInjections } from './subscribe-injection'; | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nothing to act in this PR. I just saw that we don't have cc @isaacs is that something we should add? |
||
|
|
||
| // `dataloader` ships a single transpiled CommonJS `index.js`. Its class methods are emitted as | ||
| // `_proto.<name> = function <name>() {}` (named function *expressions*), so they match on | ||
|
|
@@ -54,5 +53,3 @@ export const dataloaderChannels = { | |
| DATALOADER_CLEAR: 'orchestrion:dataloader:clear', | ||
| DATALOADER_CLEAR_ALL: 'orchestrion:dataloader:clearAll', | ||
| } as const; | ||
|
|
||
| export const dataloaderSubscribeInjection = toSubscribeInjections(dataloaderConfig); | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| import type { InstrumentationConfig } from '..'; | ||
| import { toSubscribeInjections } from './subscribe-injection'; | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
|
|
||
| const MODULE_NAME = 'knex'; | ||
|
|
||
|
|
@@ -52,5 +51,3 @@ export const knexChannels = { | |
| KNEX_SCHEMA_BUILDER: 'orchestrion:knex:schemaBuilder', | ||
| KNEX_RAW: 'orchestrion:knex:raw', | ||
| } as const; | ||
|
|
||
| export const knexSubscribeInjection = toSubscribeInjections(knexConfig); | ||
Uh oh!
There was an error while loading. Please reload this page.