Skip to content
This repository has been archived by the owner on Aug 1, 2022. It is now read-only.

refactor: add localStateGet to proxy and use it exclusively #2464

Merged
merged 1 commit into from Oct 7, 2021

Conversation

geigerzaehler
Copy link
Contributor

We add the localStateGet method to proxy client and use it exclusively. This reveals that the managed field on LocalState is not provided by the proxy and is not used. We remove it.

We also remove tests from ui/src/project.test.ts that involve mocking the local state endpoint.

Copy link
Member

@rudolfs rudolfs left a comment

Choose a reason for hiding this comment

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

utACK 🧹

We add the `localStateGet` method to proxy client and use it
exclusively. This reveals that the `managed` field on `LocalState` is
not provided by the proxy and is not used. We remove it.

We also remove tests from `ui/src/project.test.ts` that involve mocking
the local state endpoint.

Signed-off-by: Thomas Scholtes <geigerzaehler@axiom.fm>
@geigerzaehler geigerzaehler merged commit c587f37 into master Oct 7, 2021
@geigerzaehler geigerzaehler deleted the thomas/proxy-local-state branch October 7, 2021 10:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants