addAssociation
** DEPRECATED: please use requestAssociation instead. This will be removed in the next breaking version **
Add an association to an entity
Persisted into the entity's .typeKeywords
array
Parameters
Parameter | Type | Default | Notes |
---|---|---|---|
entity Required | IWithAssociations | ||
info Required | IAssociationInfo |
Returns
void
Function defined in common/src/associations/addAssociation.ts:13