Skip to main content

ApiResolver

Home > @backstage/core-app-api > ApiResolver

Handles the actual on-demand instantiation and memoization of APIs out of an ApiFactoryHolder.

Signature:

class ApiResolver implements ApiHolder 

Implements: ApiHolder

Constructors

ConstructorModifiersDescription
(constructor)(factories)Constructs a new instance of the ApiResolver class

Methods

MethodModifiersDescription
get(ref)
validateFactories(factories, apis)staticValidate factories by making sure that each of the apis can be created without hitting any circular dependencies.