Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Different historical objects are considered the same one if used with as_of #206

Open
tagliala opened this issue Aug 12, 2023 · 0 comments
Labels
CRITICAL Critical issues limitation

Comments

@tagliala
Copy link
Member

tagliala commented Aug 12, 2023

Probably this behavior is expected, but it is surprising and may should be documented

Let's say that I have an object that has been modified multiple times:

 my_object.as_of(1.month.ago) == my_object.as_of(1.minute.ago)

Returns true, because chronomodel does not check equality of hid when it is not an historical object

@tagliala tagliala added the CRITICAL Critical issues label Aug 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CRITICAL Critical issues limitation
Projects
None yet
Development

No branches or pull requests

1 participant