-
Notifications
You must be signed in to change notification settings - Fork 211
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(business constraint bypass): add
limit
param on `/api/products…
…/latest` (#294) Adds a `limit` URL param to `/api/products/latest` which controls the amount of products returned via this EP. This introduces a business constraint bypass, as this EP is used on the main page to display only the 3 latest products, and the user must be logged in to access the Marketplace page where they can see the full list of products via the `/api/products` EP, which is password protected.
- Loading branch information
Showing
2 changed files
with
17 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters