adjust to just the raw constructor
Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>
This commit is contained in:
@@ -605,14 +605,9 @@ export const catalogModuleFoobarEntitiesProcessor = createBackendModule({
|
||||
env.registerInit({
|
||||
deps: {
|
||||
catalog: catalogProcessingExtensionPoint,
|
||||
// my dependencies
|
||||
},
|
||||
async init({ catalog, ...deps }) {
|
||||
catalog.addProcessor(
|
||||
FoobarEntitiesProcessor.fromConfig(config, {
|
||||
...deps,
|
||||
}),
|
||||
);
|
||||
async init({ catalog }) {
|
||||
catalog.addProcessor(new FoobarEntitiesProcessor());
|
||||
},
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user