Saman

Results 8 comments of Saman

I created an extension for vue-i18n specifically for this feature: https://github.com/modernice/vue-i18n-modules Maybe this will suit the needs of anyone who stumbles across this issue

This would allow for an aggregate cache: ```go package example func example(repo aggregate.Repository) { cached := repository.Cached(repo) var foo aggregate.Aggregate err := cached.Fetch(context.TODO(), foo) } ```

## Proposal – "Prepare" method The `repository.Repository` type could provide a `Prepare()` method that "prepares" the next query/fetch. ```go package example func example(repo *repository.Repository) { var foo aggregate.Aggregate repo.Prepare(repository.WithSoftDeleted()) repo.Fetch(ctx,...

## Proposal – Add specialized methods The `repository.Repository` type could provide a `FetchDeleted()` and a `QueryDeleted()` method. ```go package example func example(repo *repository.Repository) { var foo aggregate.Aggregate repo.FetchDeleted(ctx, foo) aggregate.Next(foo,...

https://github.com/damianiandrea/mongodb-nats-connector

This is the `contrib/auth` package. The `QueryClient` can be found in the `contrib/auth/api.go` 👍🏼

`Fetch()` cache implemented in 4b51c724c21f3992b55e61898b0967258a885762