code: function baseDef (info) {
    const { name, isList, isNonNull } = info
    const def = {
      type: isList ? [ name ] : name
    }
    if (isNonNull) def.nullable = false
    return def
  }
docs: creates a base def object
  @param info
  @returns {{type: [null]}}