docs: static <T, E extends GraphQLError> void checkNamedUniqueness(List<GraphQLError> errors, List<T> listOfNamedThings, Function<T, String> namer, BiFunction<String, T, E> errorFunction) {
          Set<String> names = new LinkedHashSet<>();
          listOfNamedThings.forEach(thing -> {
              String name = namer.apply(thing);
              if (names.contains(name)) {
                  errors.add(errorFunction.apply(name, thing));
              } else {
                  names.add(name);
              }
          });
      }