Create Entity Resolver
Event Name
CreateEntityResolver
Event Parameters
A template file that is used to generate the resolver. This is the default template that is used for this event: resolver.template.ts. You can manipulate or replace the template with a new template in your plugin.
The name of the entity for which we are generating the resolver.
The path to the entity service module.
The Identifier of the service that is used as the class name. For example CustomerService
.
The Identifier of the base resolver that is used as the class name. For example CustomerServiceBase
.
An object with values that are available in the interpolation process of the template. This default object with the available parameters can be found here. You can manipulate the object by adding new values, or replacing existing values that will be used in the template when creating the resolver file.
Was this page helpful?