code: function processObjectType(object: GraphQLObjectType) {
    return reduce(
      object._typeConfig,
      (def, value, key) => {
        return setDef(
          def,
          key,
          value,
          [
            'description',
            'interfaces',
            'fields',
            'isTypeOf',
            'astNode',
            'onConflict',
          ],
          object,
        );
      },
      { type: 'Object' },
      true,
    );
  }
docs: Converts an object type to Factory definition
  @param {*} object