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

question: How may I ignore all @expose decorator but keep anothers decorators #1456

Open
AndresGX opened this issue Feb 17, 2023 · 1 comment
Labels
type: question Questions about the usage of the library.

Comments

@AndresGX
Copy link

The problem:
I need to use my class with decorator @expose but in another endpoints I need to only ignore this decorator for all class,
transformOptions only has ignoreDecorators but I need ignore @expose decorator

@AndresGX AndresGX added the type: question Questions about the usage of the library. label Feb 17, 2023
@mrbrunelli
Copy link

The problem: I need to use my class with decorator @expose but in another endpoints I need to only ignore this decorator for all class, transformOptions only has ignoreDecorators but I need ignore @expose decorator

Did you try to use the groups? You can ignore a field when it's in a particular group.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: question Questions about the usage of the library.
Development

No branches or pull requests

2 participants