Skip to content

nestjs 10 removed misspelled CUSTOM_ROUTE_ARGS_METADATA #825

@ckaeslin

Description

@ckaeslin

Bug Report

Due to nestjs/nest@1a2ac3e
@nestjsx/crud doesn't work with nestjs 10

Current behavior

TypeError: Cannot read properties of null (reading 'options')
at @nestjsx/crud-typeorm/src/typeorm-crud.service.ts:122:18

Input Code

Expected behavior

Possible Solution

Also fix CUSTOM_ROUTE_AGRS_METADATA to CUSTOM_ROUTE_ARGS_METADATA, though this would break every application which uses nestjs < 9.0.6

Environment


Package version: 5.0.0-alpha.3
 
For Tooling issues:
- Node version: 18.6.0
- Platform:  Mac
- Database: Postgres

Others:

Repository with minimal reproduction

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions