Skip to content

Commit c683259

Browse files
committed
chore: fixup for backward compatibility
1 parent 7cf84ac commit c683259

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

tests/Feature/RelationshipFiltersTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ protected function toRelationships(Request $request): iterable
3939
return [
4040
'posts' => $this->many(PostResource::class)
4141
->filters(fn(Filters $filters) => $filters->can('view')),
42-
'comments' => CommentResource::relationship(fn () => $this->resource->comments)
43-
->withFilters((new Filters)->can('view'))
4442
];
4543
}
4644
};

0 commit comments

Comments
 (0)