Skip to content

Conversation

@okwasniewski
Copy link
Contributor

Summary

  • Add register(_:) static method to BrownieStoreProtocol for cleaner store initialization
  • Replace verbose _ = Store(initialState, key: BrownfieldStore.storeName) with BrownfieldStore.register(initialState)
  • Update docs and example apps to use new API

Cleaner API for store initialization - replaces verbose
`_ = Store(initialState, key: BrownfieldStore.storeName)`
with `BrownfieldStore.register(initialState)`
Copy link
Collaborator

@artus9033 artus9033 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@okwasniewski okwasniewski merged commit b823815 into main Jan 16, 2026
6 checks passed
@okwasniewski okwasniewski deleted the oskar/brownie-register-api branch January 16, 2026 13:26
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.

2 participants