Our great sponsors
-
(Link to relevant commit)
-
So, I lied told a half-truth about aggregates. They are not hydrated in-memory for every command / event. In reality, aggregates are implemented with GenServer each caching their state and being managed under the commanded application's supervision tree (ultimately by a DynamicSupervisor called Commanded.Aggregates.Supervisor, to be specific).
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
In most designs, this would probably not be possible unless a table tracking extension is being used in an ORM. Even with change tracking enabled through extensions like paper trail or Django simple history, it can be tricky to restore deleted entities. Object tracking would need to have been enabled before it is needed to ensure the data is still around to be restored.
Related posts
- Don’t allow associations on discarded records
- historical data and "point in time" data modeling techniques, advice.
- Database changes log for Rails
- Phoenix JSON API Pagination
- Best rails tools to automatically handle logging of things like all a user's actions, or changes to a record in a module - primarily for audit purposes.