Tell different between no relationship and a relationship that failed to load?

Hey.

I’m using an async belongsTo relationship to load in data. Sometimes, the data is null so no API request is made but sometimes it has a relation to some deleted data.

As far as I can tell, the promise resolves to null in both instances.

Is it possible to tell the difference between no relationship and a relationship that cannot be loaded?

Thanks

1 Like