Skip to content

Add store overrides DSL#182

Open
hkusu wants to merge 1 commit intomainfrom
codex/store-overrides-dsl
Open

Add store overrides DSL#182
hkusu wants to merge 1 commit intomainfrom
codex/store-overrides-dsl

Conversation

@hkusu
Copy link
Copy Markdown
Member

@hkusu hkusu commented Apr 7, 2026

Summary

  • Add an overrides DSL for non-state store configuration while keeping Store { ... } and Store(initialState) { ... } usage intact.
  • Support middleware replacement and clearing through replaceMiddlewares(...) and clearMiddlewares() inside overrides { }.
  • Simplify middleware setup by allowing middleware(...) to accept one or more middleware instances.
  • Add JVM tests for overrides behavior and update the README examples to use overrides instead of extraSetup.

Verification

  • ./gradlew :tart-core:jvmTest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant