Ferdinand Beyer
Ferdinand Beyer
Every now and then, my REPL crashes with a segmentation fault, when trying to create a `db` object for a LMDB-backed index store. It happens from a thread started by...
Map IDs with metadata do not have correct content hashing equality respecting Java's/Clojure's `=`
I ran into an issue where I use a map for the `:xt/id` as a subset of an entity's attributes, and when this map has metadata, transactions seem to have...
A component may chose to dynamically obtain instances of a dependency. Use case: Create a new Reitit router for every call in development. Currently, this is possible by making the...
Allows modelling that a component needs to be started before another, without injecting the instance to the start function. Use Case: Logging, and other libs that use global state Instead...
Combining discovery methods: - component `:foo.init/config` provides a config map - when added to a config, we can "promote" it to its parent config Possible algorithm: - Select all components...
Use cases: * Configure logging first * Publish an event last
* Select instances similar to selecting components in a config * Resolve a selector, similar to how `:init/inject` would work (e.g. require one) Use cases: * Get instances after starting...
* Load config file * Build an init config * Add loaded config to the init config Convenience; creates a component with start function `(constantly x)`.
When a start function throws, `init.system/start-component` will attempt to stop all already started components, in reverse dependency order. However, this calculation seems to be wrong, as I see suppressed `NullPointerExceptions`....