-
-
Notifications
You must be signed in to change notification settings - Fork 141
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
[MapperIgnore] on properties of classes #585
Comments
#201 would help, I suppose. The BTW: Und vielen Dank für diese großartige Idee und Umsetzung von mapperly! |
Good point with 513. If #201 supports adding ignores then it will be perfect for you. Failing that it would be pretty easy to modify the |
The idea of #201 is to allow |
#611 removes the |
A common usecase is, that entities have properties that never need to be mapped to any DTO.
Some of these metadata properties might even be defined in a base class.
For example:
So the mapper configuration is always pretty verbose:
A MapperIgnoreAttribute - similar to the well known
[JsonIgnore]
- directly on the property would make code way cleaner.The text was updated successfully, but these errors were encountered: