Skip to content

Conversation

@jayconrod
Copy link
Contributor

This is the beginning of a refactoring to move some LoadStorer
implementations into appState.

Although CacheAlert satisfied the LoadStorer interface type,
it was a decorator that didn't actually load or store any tokens
or provide useful or meaningful abstraction. It seems better to
squash this into appState and remove unnecessary abstraction.
This also makes the test a little more realistic.

Also refactored fake token generation to make testing easier.

This is the beginning of a refactoring to move some LoadStorer
implementations into appState.

Although CacheAlert satisfied the LoadStorer interface type,
it was a decorator that didn't actually load or store any tokens
or provide useful or meaningful abstraction. It seems better to
squash this into appState and remove unnecessary abstraction.
This also makes the test a little more realistic.

Also refactored fake token generation to make testing easier.
@jayconrod jayconrod merged commit 0f37ccd into main Nov 27, 2024
5 checks passed
@jayconrod jayconrod deleted the jay-1-cachealert branch November 27, 2024 15:54
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.

3 participants