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

Add support to @PropertyName #403

Closed
ismaelgomescosta opened this Issue Jul 15, 2016 · 3 comments

Comments

Projects
None yet
2 participants
@ismaelgomescosta
Contributor

ismaelgomescosta commented Jul 15, 2016

Create a member level PropertyName to customize the property name of change

@bartoszwalacik

This comment has been minimized.

Member

bartoszwalacik commented Feb 18, 2017

This feature looks like really easy to implement, perfect issue for a contribution

@bartoszwalacik

This comment has been minimized.

Member

bartoszwalacik commented Mar 25, 2017

new ann should be added here org.javers.core.metamodel.annotation.PropertyName Target METHOD & FIELD

New field, String name, should be added to Property class.
By default, name should be initialized from member.propertyName() (as is now).

When @PropertyName is present, name should be set from ann value.

This logic, should be implemented in BeanBasedPropertyScanner and FieldBasedPropertyScanner

Tests should be added in PropertyScannerTest

@bartoszwalacik

This comment has been minimized.

Member

bartoszwalacik commented Mar 27, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment