MCPcopy Create free account
hub / github.com/git-bug/git-bug / simpleResolvers

Function simpleResolvers

entity/dag/example_test.go:292–298  ·  view source on GitHub ↗
(repo repository.ClockedRepo)

Source from the content-addressed store, hash-verified

290}
291
292func 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
300func Example_entity() {
301 const gitBugNamespace = "git-bug"

Callers 2

ReadFunction · 0.70
Example_entityFunction · 0.70

Calls 1

NewSimpleResolverFunction · 0.92

Tested by

no test coverage detected