Skip to content

UniqueModelIdentificatorOverriding

Mihael Safaric edited this page Jul 8, 2019 · 1 revision

Overriding unique model identificator

uniqueModelIdentificator getter of the HalModel class can be overriden if needed. When overriding, this.selfLink is available.

Example

public get uniqueModelIdentificator(): string {
  return this.selfLink.split('/')[1];
}