Skip to content
This repository has been archived by the owner on Dec 30, 2024. It is now read-only.

Commit

Permalink
Fixed CacheView
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonlessenich committed Mar 18, 2024
1 parent 6442ae3 commit f22da7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/src/internal/restrr_impl.dart
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ class RestrrImpl implements Restrr {
/* Caches */

late final EntityCacheView<Currency> currencyCache = EntityCacheView(this);
late final EntityCacheView<Session> sessionCache = EntityCacheView(this);
late final EntityCacheView<PartialSession> sessionCache = EntityCacheView(this);
late final EntityCacheView<User> userCache = EntityCacheView(this);

late final PageCacheView<Currency> currencyPageCache = PageCacheView(this);
late final PageCacheView<Session> sessionPageCache = PageCacheView(this);
late final PageCacheView<PartialSession> sessionPageCache = PageCacheView(this);

RestrrImpl({required this.routeOptions, required Map<Type, Function> eventMap, this.options = const RestrrOptions()})
: eventHandler = RestrrEventHandler(eventMap);
Expand Down

0 comments on commit f22da7d

Please sign in to comment.