fix: Make Reference Resolver public
When defining an EntityObjectType
when the '__referenceResolver'
attribute is defined with a closure that returns a promise, the referenceResolver
function needs to be overwritten as to not modify the entity
The referenceResolver
function sets the $referenceResolver
property.
Because of this, the $referenceResolver
property needs to be public.