-
Notifications
You must be signed in to change notification settings - Fork 122
NestedModel
Michael Dostál edited this page Nov 14, 2018
·
1 revision
Nested model should be used for complex attributes.
For example Address:
{
street:'Bakerstreet 221b'
city: 'London',
zip: 'W6 7EB',
country:'Great Britain'
}
export class Address extends JsonApiNestedModel { }
NOTE: Change of any field inside NestedModel will result in marking the whole NestedModel as dirty.
@JsonAttribute