Read is a helper to load a ProjectConfig from a Repository
(repo repository.ClockedRepo, id entity.Id)
| 286 | |
| 287 | // Read is a helper to load a ProjectConfig from a Repository |
| 288 | func Read(repo repository.ClockedRepo, id entity.Id) (*ProjectConfig, error) { |
| 289 | return dag.Read(def, wrapper, repo, simpleResolvers(repo), id) |
| 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 |
no test coverage detected