Ferdinand Beyer

Results 23 issues of 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...

bug

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...

bug

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...

enhancement

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...

enhancement

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...

enhancement

Use cases: * Configure logging first * Publish an event last

enhancement

* 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...

enhancement

* Load config file * Build an init config * Add loaded config to the init config Convenience; creates a component with start function `(constantly x)`.

enhancement

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`....

bug