Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@Tags decorator can only be used for functions #1705

Closed
2 of 4 tasks
maxuai opened this issue Oct 15, 2024 · 1 comment
Closed
2 of 4 tasks

@Tags decorator can only be used for functions #1705

maxuai opened this issue Oct 15, 2024 · 1 comment

Comments

@maxuai
Copy link

maxuai commented Oct 15, 2024

Sorting

  • I'm submitting a ...

    • bug report
    • feature request
    • support request
  • I confirm that I

    • used the search to make sure that a similar issue hasn't already been submit

Expected Behavior

@Tags decorator is allowed for classes and functions, see the docuemntation

Current Behavior

@Tags decorator is only allowed for functions

Possible Solution

add ClassDecorator to the returned types

Context (Environment)

Version of the library: 6.5.0
Version of NodeJS: 20.12.2

  • Confirm you were using yarn not npm: [x]

Detailed Description

seems like the decorator have been refactored but the @Tags decorator was restricted to be only used for functions

Breaking change?

d141746

@jackey8616
Copy link
Collaborator

jackey8616 commented Oct 15, 2024

#1703 fixes this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants