-
Notifications
You must be signed in to change notification settings - Fork 41
initializer modifies class #68
Comments
@durandom I would expect I agree that it shouldn't modify the class on instance create and your concern about thread safety. |
The above hash is the But you say it should be an instance of So there might be another bug? |
yeah, sounds like a bug to me. |
This issue has been automatically marked as stale because it has not been updated for at least 3 months. If you can still reproduce this issue on the current release or on Thank you for all your contributions! More information about the ManageIQ triage process can be found in the traige process documentation. |
I'm a bit worried about
in base_model introduced in #17
Not only does it modify a class whenever an instance is created, which can lead to different behaviour across different instances. It's also not thread safe, potentially leading to data corruption.
I'm also seeing inconsistent behaviour when accessing these
_id
methodsTBH, I would favour no magic id columns and stick as close to the response as possible
The text was updated successfully, but these errors were encountered: