a question around data builders. We started using them and am running into errors like
Don't know how to instantiate leaf URL
We have a set of scalar adapters which are correctly fed into the databuilders. in the
fakeResolver
the order of operations is such:
val leafValue = resolver.resolveLeaf(FakeResolverContext(path, id, mergedField))
if (type is CustomScalarType) {
the
resolver
itself seems to run without any knowledge of scalars in the `DefaultFakeResolver`:
else -> {
val type = enumTypes.find { it.name == name } ?: error("Don't know how to instantiate leaf $name")
is this expected? I could not find anything in the docs for data builders