Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Examples on https://mobilenativefoundation.github.io/Store/mutable-store/building/builder/ are wrong #579

Open
Marcel348 opened this issue Sep 27, 2023 · 0 comments
Assignees
Labels
bug Something isn't working documentation Improvements or additions to documentation

Comments

@Marcel348
Copy link

  1. The first example does not create MutableStore. MutableStoreBuilder should be used instead of StoreBuilder.

  2. The second example Store does not write to cache and SOT after calling store.write function.
    Because StoreDelegateWriteResult.Error.Exception is thrown in write function of RealStore.kt file with message "java.lang.IllegalStateException: non mutable store never call this function".
    (possible bug?)

@Marcel348 Marcel348 added the bug Something isn't working label Sep 27, 2023
@matt-ramotar matt-ramotar self-assigned this Oct 7, 2023
@matt-ramotar matt-ramotar added the documentation Improvements or additions to documentation label Oct 7, 2023
@matt-ramotar matt-ramotar added this to the Codebase Cleanup milestone Oct 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
Status: Investigating
Development

No branches or pull requests

2 participants