Quantcast
Viewing all articles
Browse latest Browse all 4827

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

@nojacko wrote:

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

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4827

Trending Articles