Closed vinkla closed 9 years ago
You should only create a Relationship object if there is relationship data – otherwise just return null. I don't think this is an issue in the 0.2 branch because the Builder automatically checks this for you.
That's great. Thanks.
Currently (0.1.1) the package throws an error if the relation the client is trying to include a relation doesn't exist. What is expected behaviour? Should it throw an error?
Maybe this should just return empty instead?