import { GraphQLObjectType } from 'graphql'
import { extendType } from '@nexus/schema'
const A = new GraphQLObjectType()
const B = extendType({
type: 'A',
// ...
})
makeSchema({
types: [A,B]
})
@tgriesser WDYT?
Does this not already work?
@Weakky has more context than me, apparently not.
I'm surprised it doesn't, this is the whole reason we walk & unwrap the types as .toConfig - specifically so extendType will work - guess it'd be good to start from a failing test case.
Ah, yep this is a bug.