next-api-decorators icon indicating copy to clipboard operation
next-api-decorators copied to clipboard

Collection of decorators to create typed Next.js API routes, with easy request validation and transformation.

Results 30 next-api-decorators issues
Sort by recently updated
recently updated
newest added

Bumps [semver](https://github.com/npm/node-semver) from 5.7.1 to 5.7.2. Release notes Sourced from semver's releases. v5.7.2 5.7.2 (2023-07-10) Bug Fixes 2f8fd41 #585 better handling of whitespace (#585) (@​joaomoreno, @​lukekarrys) Changelog Sourced from semver's...

dependencies

Bumps [semantic-release](https://github.com/semantic-release/semantic-release) from 21.0.2 to 21.0.7. Release notes Sourced from semantic-release's releases. v21.0.7 21.0.7 (2023-07-05) Bug Fixes deps: update dependency read-pkg-up to v10 (#2862) (70996e0) v21.0.6 21.0.6 (2023-06-28) Bug Fixes...

dependencies

Bumps [lint-staged](https://github.com/okonet/lint-staged) from 13.2.2 to 13.2.3. Release notes Sourced from lint-staged's releases. v13.2.3 13.2.3 (2023-06-28) Bug Fixes the --diff option implies --no-stash (66a716d) Commits 66a716d fix: the --diff option implies...

dependencies

**Is your feature request related to a problem? Please describe.** I would like to run middleware after the handler was executed. **Describe the solution you'd like** It will be great...

This PR refactor the handler code (middlewares and main API function). The change is to run all functions in one Promise instead of creating a Promise for each middleware. The...

this would serve to not create folders users/products for examples ![git1](https://github.com/instantcommerce/next-api-decorators/assets/80126199/fac82dfb-2840-472b-ad3a-290c76a7e959) [[...params]].ts ![image](https://github.com/instantcommerce/next-api-decorators/assets/80126199/cbc5acb9-b6fd-4661-86ad-6f4e27b02f3a) if there are alternative solutions. i appreciate them thanks

Add a builder parameter on createHandler to allow dependency injection using inversify. Syntax with inversify: ```typescript const container = new Container({ autoBindInjectable: true }); // Create service @injectable() export class...

Hey! I am trying to create an API route to handle all requests from an admin to modify the pages of the public website. Base requests will be made at...

bug

Hi dear, I am trying to use "next-api-decorators" with Next Js version "14.2.5", but getting various issues. Please fix.