Skip to content

fix: Make Reference Resolver public

Compare
Choose a tag to compare
@jeffreybaird jeffreybaird released this 22 Apr 14:26
1c2bf7b

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.