We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54232ea commit 8c7b425Copy full SHA for 8c7b425
src/SchemaContext.php
@@ -6,7 +6,6 @@
6
use Tobyz\JsonApiServer\Resource\Collection;
7
use Tobyz\JsonApiServer\Resource\Resource;
8
use Tobyz\JsonApiServer\Schema\Field\Field;
9
-use Tobyz\JsonApiServer\Schema\Field\Relationship;
10
use Tobyz\JsonApiServer\Schema\Link;
11
use Tobyz\JsonApiServer\Schema\Meta;
12
use WeakMap;
@@ -44,11 +43,6 @@ public function endpoints(Collection $collection): array
44
43
return $this->endpoints[$collection] ??= $collection->endpoints();
45
}
46
47
- public function relationshipLinks(Relationship $relationship): array
48
- {
49
- return $this->endpoints[$collection] ??= $collection->endpoints();
50
- }
51
-
52
/**
53
* Get the fields for the given resource, keyed by name.
54
*
0 commit comments