You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Decide on better naming strategy that is convenient and also concise and clear to understand.
Convenient - minimal use of imports, ability to use default value of annotation
Clear to Understand - projects a clear understanding of what the annotation is doing without having to read docs
Concise - The annotation will most likely be used repeatedly multiple domain classes. It should not be overly verbose.
Optimization - Use an AST transformation to accelerate runtime. While still O(1), performance could be improved moving the annotation processing to compile time. Performance would then be aligned with static constraints.
Disable rendering of fields on edit/create page similar to dateCreated and lastUpdated
Requires 2 or 3 imports:
classUser {
String username
String password
@AutoTimestamp(CREATED) LocalDateTime created
@AutoTimestamp(UPDATED) LocalDateTime modified
Date dateCreated
Date lastUpdated
}
Decisions:
What should be default behavior? Creation only or Update only?
If Aliases are to be used, should constants be removed and replaced with a binary option? (true/false)
If constants, are maintained, is there a more concise approach available? Rename EventType to Event?
1 import:
@AutoTimestamp(AutoTimestamp.Event.CREATED) LocalDateTime created
@AutoTimestampLocalDateTime modified
Middle ground?
1 import:
@AutoTimestamp(AutoTimestamp.Type.DateCreated) LocalDateTime created
@AutoTimestamp(AutoTimestamp.Type.LastUpdated) LocalDateTime modified
@AutoTimestampLocalDateTime updated // also works
The text was updated successfully, but these errors were encountered:
Convenient - minimal use of imports, ability to use default value of annotation
Clear to Understand - projects a clear understanding of what the annotation is doing without having to read docs
Concise - The annotation will most likely be used repeatedly multiple domain classes. It should not be overly verbose.
Optimization - Use an AST transformation to accelerate runtime. While still O(1), performance could be improved moving the annotation processing to compile time. Performance would then be aligned with static constraints.
Disable rendering of fields on edit/create page similar to dateCreated and lastUpdated
Requires 2 or 3 imports:
Decisions:
1 import:
Middle ground?
1 import:
The text was updated successfully, but these errors were encountered: