graphql-framework-experiment icon indicating copy to clipboard operation
graphql-framework-experiment copied to clipboard

Field in interface not get type generated

Open dohaicuong opened this issue 5 years ago • 0 comments
trafficstars

Hi,

I was implement Node interface to support for Relay using @nexus/schema with field id and resolver for that id field image

The problem is in the User model when I implements Node interface, the root object type in resolver doesn't have field id included at all image

And as you can see I can write t.id('id') in User model but it will override the resolver of id field

I wonder if this is a bug or what I can do to make it work in nexus way

Cheers,

dohaicuong avatar Sep 02 '20 04:09 dohaicuong