Skip to main content

getTypeResolver

@webda/core


Function: getTypeResolver()

getTypeResolver(model?): ModelTypeResolver

Defined in: packages/models/lib/types-resolver.d.ts:174

Resolver to use for a model: the installed one when it knows the model, else the model's own hierarchy (exact identifiers only)

Parameters​

model?​

ModelClass

the model, if any

Returns​

ModelTypeResolver

the resolver