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

Add caching of current user #551

Merged
merged 1 commit into from
Sep 16, 2023
Merged

Conversation

abitofevrything
Copy link
Member

Description

Closes #542.

After thinking about it, I've decided that the only missing entity was the current user - so I just added a way to specify that.

The entities are partial so we can potentially move to an ID-based system in the future (and because the entities won't be updated).

Type of change

  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • Ran dart analyze or make analyze and fixed all issues
  • Ran dart format --set-exit-if-changed -l 160 ./lib or make format and fixed all issues
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works

@abitofevrything abitofevrything added the enhancement New feature or request label Sep 16, 2023
@abitofevrything abitofevrything added this to the 6.0 milestone Sep 16, 2023
@abitofevrything abitofevrything self-assigned this Sep 16, 2023
@abitofevrything abitofevrything merged commit 18bafed into next Sep 16, 2023
7 checks passed
@abitofevrything abitofevrything deleted the feat/special-entity-caching branch September 16, 2023 20:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Provide caching for "special" entities & gateway initialisation data
2 participants