-
-
Notifications
You must be signed in to change notification settings - Fork 736
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
V4: State and Cache providers #2251
base: 4.0
Are you sure you want to change the base?
Conversation
Cachable models so far - Users - Presence
|
||
namespace Discord | ||
{ | ||
internal static class CacheableEntityExtensions |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there any reason why these methods arent returning the generic type parameters? We could downcast it later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not really, its just whats there atm. it could change once I implement the rest of the entities
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a few copyedits
Co-authored-by: Jared L <[email protected]>
Co-authored-by: Jared L <[email protected]>
Is this still on the roadmap? I'm building something and using this library but running into a few limitations that I need to work around. I left my comments in this discussion here: thanks! |
Summary
This PR implements state and cache providers as proposed in #2238.
The current api of the providers is up for debate, I've implemented it how I see fit but feedback and reviews are always welcome.
Todo: