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

Release v1.0.0-alpha03 #16

Merged
merged 21 commits into from
Sep 13, 2022
Merged

Release v1.0.0-alpha03 #16

merged 21 commits into from
Sep 13, 2022

Conversation

PatilShreyas
Copy link
Owner

@PatilShreyas PatilShreyas commented Sep 13, 2022

Changelog

Added support for updating multiple state fields atomically with Mutekt-generated mutable model. Just use update{} on the instance of mutable model.

Example:

val state = MutableNotesState(...)

state.update {
  isLoading = false
  notes = listOf("Lorem Ipsum")
}

Added test cases for core and codegen modules.

@PatilShreyas PatilShreyas merged commit e2fca1f into main Sep 13, 2022
@PatilShreyas PatilShreyas deleted the v1.0.0-alpha03-dev branch September 13, 2022 14:28
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.

How do you do atomic update with this ? Write test cases for verification of codegen
1 participant