Ferma icon indicating copy to clipboard operation
Ferma copied to clipboard

@Property on member variable instead of getter/setter

Open oeil opened this issue 6 years ago • 1 comments

Hi guys,

is there any plans on support annotations (e.g. @Property) at the member variable instead of getter/setters (similar to JPA)? This would provide a much better overall experience in Java as well as Kotlin.

Thanks,

oeil avatar Jun 27 '18 11:06 oeil

That would change the architecture significantly. you would have to pull out objects, modify them, then submit them back to get updated (like you do in jpa). In our current model when you call the setter it calls back to the underlying tinkerpop object.

On Wed, Jun 27, 2018 at 1:18 PM EYL Francois [email protected] wrote:

Hi guys,

is there any plans on support annotations (e.g. @property https://github.com/property) at the member variable instead of getter/setters (similar to JPA)? This would provide a much better overall experience in Java as well as Kotlin.

Thanks,

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Syncleus/Ferma/issues/51, or mute the thread https://github.com/notifications/unsubscribe-auth/AC5JAnhJdrRxn0eaNgIn3yi_81T1QRv3ks5uA2oRgaJpZM4U5hl- .

freemo avatar Jun 27 '18 13:06 freemo