Resty v0.11.0 Resty.Associations View Source

Resty supports associations between resources. The best way to learn how to use an association is to go check its doc.

Supported associations

Not loaded

If an association has not been loaded its value will be of the type Resty.Associations.NotLoaded

What may cause an association to not be loaded is that the request resulted in an error (404, 401 etc…) or that the foreign key of the relation was set to null.