API Error: getRelationships does not exist.
line 48 /Users/habyb/www/html/dev/vacina/wave/src/Http/Controllers/API/ApiController.php $dataTypeContent = $this->resolveRelations($dataTypeContent, $dataType);
Error: Method Wave\Http\Controllers\API\ApiController::getRelationships does not exist.
Hi @tnylea,
Laravel Framework 5.8.8
Thanks.
Hi, I am having a problem with this as well. The api does not let me retrieve the user profile settings.
Method Wave\Http\Controllers\API\ApiController::getRelationships does not exist.
is there any explanation for this? I can't access standard routes, for the api that i created with bread.
Where is support? This application is broken, and i just bought it...is someonearound in this form? Even premium members are not getting a response.
you can add this to the BreadRelationshipParser trait it fixes the route issus but on relationships it dosen't seem to work
protected function getRelationships(DataType $dataType)
{
// dd($dataType);
$relationships = [];
$dataType->browseRows->each(function ($item) use (&$relationships) {
$details = $item->details;
print_r
if (isset($details->relationship) && isset($item->field)) {
$relation = $details->relationship;
if (isset($relation->method)) {
$method = $relation->method;
$this->relation_field[$method] = $item->field;
} else {
$method = camel_case($item->field);
}
$relationships[$method] = function ($query) use ($relation) {
// select only what we need
if (isset($relation->method)) {
return $query;
} else {
$query->select($relation->key, $relation->label);
}
};
}
});
return $relationships;
}
i have the same issue .... i sent a email to him and no answear, no nothing
I'm also facing the issue, please help me to resolve this issue. Myfirstpremiercard
Has there been ANY support for this? I am a premium member and I am haveing the same issue!
This guy is not answering hi's a jackass my issue is 5 moths old and no answear