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

chore: Unifiy implementation of State #1586

Merged
merged 7 commits into from
Jul 17, 2023
Merged

chore: Unifiy implementation of State #1586

merged 7 commits into from
Jul 17, 2023

Conversation

dr1rrb
Copy link
Member

@dr1rrb dr1rrb commented Jun 20, 2023

linked #1410

Refactoring

Unify implantation of the State to always be a "subscription on an UpdateFeed" no matter the type of the updates defined on it.

What is the current behavior?

When a state was created using StateUpdateKind.Persistent (only for pagination), it was using a completed (more recent) implementation.

What is the new behavior?

No matter the defined StateUpdateKind, State now uses the same implementation (which can be summarized as "a state is a FeedSubscription made on an UpdateFeed")

PR Checklist

  • Tested code with current supported SDKs
  • Docs have been added/updated which fit documentation template. (for bug fixes / features)
  • Unit Tests and/or UI Tests for the changes have been added (for bug fixes / features) (if applicable)
  • Wasm UI Tests are not showing unexpected any differences. Validate PR Screenshots Compare Test Run results.
  • Contains NO breaking changes
  • Updated the Release Notes
  • Associated with an issue (GitHub or internal)

@dr1rrb
Copy link
Member Author

dr1rrb commented Jul 13, 2023

/azp run

@azure-pipelines
Copy link

No commit pushedDate could be found for PR 1586 in repo unoplatform/uno.extensions

@dr1rrb dr1rrb enabled auto-merge July 13, 2023 17:02
@dr1rrb dr1rrb self-assigned this Jul 13, 2023
@weitzhandler weitzhandler requested review from weitzhandler and removed request for weitzhandler July 17, 2023 15:21
@dr1rrb dr1rrb merged commit 0c2d807 into main Jul 17, 2023
@dr1rrb dr1rrb deleted the dev/dr/stateV2 branch July 17, 2023 19:22
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