Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.

Ignore filters when fetching single item by ID #413

Closed
wellingguzman opened this issue Sep 14, 2018 · 1 comment
Closed

Ignore filters when fetching single item by ID #413

wellingguzman opened this issue Sep 14, 2018 · 1 comment
Projects

Comments

@wellingguzman
Copy link
Contributor

Fetching single items specifying the ID such as /items/projects/1 should ignore filters.

It will produce an unexpected query, or in most cases fails with zero result.

It's not useful to use query as the user already know what is looking for when providing an ID. If the user wants to know if a specific item has certain value, it should use items/projects?filter[id]=1&filter[comments][gte]=10

@wellingguzman wellingguzman changed the title Ignore filters fetching single item by ID Ignore filters when fetching single item by ID Sep 14, 2018
@stale
Copy link

stale bot commented Dec 30, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Dec 30, 2018
@stale stale bot closed this as completed Jan 6, 2019
@benhaynes benhaynes added this to To do in v2.0.14 via automation Jan 6, 2019
@wellingguzman wellingguzman reopened this Jan 9, 2019
v2.0.14 automation moved this from To do to In progress Jan 9, 2019
v2.0.14 automation moved this from In progress to Done Jan 9, 2019
samvasko pushed a commit to samvasko/api that referenced this issue Nov 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
No open projects
v2.0.14
  
Done
Development

No branches or pull requests

2 participants