-
Fixed Generic Type issues with Object Types
The following code lead to a schema exception:
Schema.Create(d => d.RegisterType<ObjectType<Foo<Bar>>>());
The schema exception was caused by an invalid handling of the generic type names during resolver code generation. Moreover, the inferred object type name would have been Foo`1 which would have then caused another schema exception.
We know create the following schema from the above code:
type FooOfBar { Bar bar }