protected override InputObjectTypeDefinition CreateDefinition( IInitializationContext context) { var descriptor = InputObjectTypeDescriptor.FromSchemaType( context.DescriptorContext, GetType()); _configure(descriptor); return(descriptor.CreateDefinition()); }
protected override InputObjectTypeDefinition CreateDefinition( ITypeDiscoveryContext context) { var descriptor = InputObjectTypeDescriptor.FromSchemaType(context.DescriptorContext, GetType()); _configure !(descriptor); _configure = null; return(descriptor.CreateDefinition()); }