(repo repository.ClockedRepo)
| 290 | } |
| 291 | |
| 292 | func simpleResolvers(repo repository.ClockedRepo) entity.Resolvers { |
| 293 | // resolvers can look a bit complex or out of place here, but it's an important concept |
| 294 | // to allow caching and flexibility when constructing the final app. |
| 295 | return entity.Resolvers{ |
| 296 | &identity.Identity{}: identity.NewSimpleResolver(repo), |
| 297 | } |
| 298 | } |
| 299 | |
| 300 | func Example_entity() { |
| 301 | const gitBugNamespace = "git-bug" |
no test coverage detected