A Resolver which only looks at our embedded repo
Constructs a Resolver instance from an arg array of RepositoryRefs.
Constructs a Resolver instance from an arg array of RepositoryRefs.
The size of the cache
Any RepositoryRef to add to this resolver
a configured Resolver instance
Construct a Resolver instance from a Json *and* validates against embedded schema (hence side-effect)
Construct a Resolver instance from a Json *and* validates against embedded schema (hence side-effect)
The JSON containing the configuration for this resolver
a configured Resolver instance
Tail-recursive function to find our schema in one of our repositories
Tail-recursive function to find our schema in one of our repositories
a function to get an entity from first registry
A List of repositories we have to look in (not-tried yet or with non-404 error)
A Map of repositories with their accumulated errors we have looked in fruitlessly so far
either a Success-boxed schema (as a Json), or a Failure-boxing of Map of repositories with all their accumulated errors
Companion object. Lets us create a Resolver from a Json