-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
DocsRepositoryIssues related to @loopback/repository packageIssues related to @loopback/repository packagebuggood first issue
Description
Steps to reproduce
Submit to any findById call the optional filter argument with a where clause.
Current Behavior
The where clause is beeing ignored and the item is returned in all cases.
Expected Behavior
The item will only be returned if it matches the where clause.
Additional information
This is needed to add item level security based on filters by an Interceptor.
Related Issues
#1721
Although this issue is about the include and fields of the filter
Acceptance Criteria
_Getting from @bajtos' comment
- fix TypeScript definitions and our API docs to make it clear which filter properties are accepted by findById function.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
DocsRepositoryIssues related to @loopback/repository packageIssues related to @loopback/repository packagebuggood first issue