It should not warn about Overwriting existing field version
when track_history
is called more than once
#252
Labels
Overwriting existing field version
when track_history
is called more than once
#252
We are getting a warning when classes are being loaded:
WARN -- : Overwriting existing field version in class MyClassA
The reason this is happening is due to the fact that we call
track_history
in a mixin, as well as some class itself that includes from the mixin, but other classes don't need to. Is it possible to only redefine theversion
field when it is previous not defined, so thattrack_history
can be called multiple times to add more fields to track without a warning.The text was updated successfully, but these errors were encountered: