Repository navigation
Property 'base' in type 'PersonResolver' is not assignable to the same property in base type 'ResolverInterface<Person>'. #1056
Answered
by
MichalLytek
kaykhancheckpoint
asked this question in
Q&A
|
I have a custom Person Type which returns a base field of the original PersonDB Type. However my base field resolver returns the following error
PersonResolver.ts |
Answered by
MichalLytek
Sep 30, 2021
Replies: 2 comments
|
Just don't use |
0 replies
Answer selected by
kaykhancheckpoint
|
I wrote a custom Then you can type an object like this: And your resolver gets typed like this: We have been using this in our system and it works great. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just don't use
ResolverInterface, it's an optional helper that doesn't fit your needs.