We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Provide an Aggregate Repository with cache features.
package example func example(repo aggregate.Repository) { // or aggregate.TypedRepository[...] cached := repository.NewCache(repo) // Only runs once q := query.New(...) cached.Query(context.TODO(), q) cached.Query(context.TODO(), q) // Only runs once id := uuid.New() cached.Fetch(context.TODO(), id) cached.Fetch(context.TODO(), id) // Clear cache cached.Reset() }
The text was updated successfully, but these errors were encountered:
Fetch() cache implemented in 4b51c72
Fetch()
Sorry, something went wrong.
No branches or pull requests
Provide an Aggregate Repository with cache features.
The text was updated successfully, but these errors were encountered: