You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by GitBox <gi...@apache.org> on 2019/07/14 14:29:52 UTC

[GitHub] [deltaspike] j-be opened a new pull request #93: Implement @CreatedBy, similar to @CreatedOn

j-be opened a new pull request #93: Implement @CreatedBy, similar to @CreatedOn
URL: https://github.com/apache/deltaspike/pull/93
 
 
   As discussed on the mailing list, there are currently `@CreatedOn` and `@ModifiedOn`, but only `@ModifiedBy` and no `@CreatedBy`.
   
   This pull-request adds `@CreatedBy` and adds a `onCreate` flag to `@ModifiedBy`. This flag - differently from `@ModifiedOn` defaults to `true` to preserve backwards compatibility. @tandraschko proposed to remove the `onCreate` flags entirely for the DeltaSpike 2 release. Hence, I marked the `onCreate` flag in `@ModifiedOn` as `@Deprecated`. I'm not sure whether I should do the same on `onCreate` flag in `@ModifiedBy`, as changing that to `false` would represent the potential future default behavior.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services