Merge pull request #10195 from backstage/freben/processingResult

removed a lingering reference to the old 'result' export
This commit is contained in:
Fredrik Adelöw
2022-03-15 11:00:57 +01:00
committed by GitHub
@@ -471,6 +471,7 @@ We also provide a high-level example of what a catalog process for a custom
entity might look like:
```ts
import { CatalogProcessor, processingResult } from '@backstage/catalog-backend';
import { entityKindSchemaValidator } from '@backstage/catalog-model';
export class FoobarEntitiesProcessor implements CatalogProcessor {
@@ -506,7 +507,7 @@ export class FoobarEntitiesProcessor implements CatalogProcessor {
// Here we can modify the entity or emit results related to the entity
// Typically you will want to emit any relations associated with the entity here
emit(results.relation({ ... }))
emit(processingResult.relation({ ... }))
}
return entity;