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