[ https://issues.apache.org/jira/browse/CAY-2511?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16741952#comment-16741952 ]
ASF GitHub Bot commented on CAY-2511: ------------------------------------- GitHub user aarrsseni opened a pull request: https://github.com/apache/cayenne/pull/361 CAY-2511 Contribute custom properties for attributes You can merge this pull request into a Git repository by running: $ git pull https://github.com/aarrsseni/cayenne CAY-2511 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cayenne/pull/361.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #361 ---- commit 1a295863ecc465509504a67774d8ce105c348432 Author: Arseni Bulatski <ancarseni@...> Date: 2019-01-14T10:45:37Z CAY-2511 Contribute custom properties for attributes ---- > Contribute custom properties for attributes > ------------------------------------------- > > Key: CAY-2511 > URL: https://issues.apache.org/jira/browse/CAY-2511 > Project: Cayenne > Issue Type: Improvement > Components: Core Library > Affects Versions: 4.2.M1 > Reporter: Arseni Bulatski > Priority: Major > Labels: pull-request-available > Fix For: 4.2.M1 > > > Allow to add custom properties for attributes and generate classes with this > custom properties. > * First you need to create custom property. > * Create PropertyDescriptorCreator > * Contribute descriptor creator to CgenModule: > CgenModule.contributeUserProperties(binder).add(CustomPropertyDescriptorCreator.class); -- This message was sent by Atlassian JIRA (v7.6.3#76005)