Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

Make repeated fields and field order of object and input extensions match graphql-java in 15.0.0

Aberta
#865 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
3/5
Tempo estimado
1-2 dias
Facilidade para iniciantes
65/100
Tipo de issue
Bug
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
java, kotlin

Direção de pesquisa

Start by reading the object and input extension processing and the tests for interface extensions, which already cover repeated fields. Compare the behavior with graphql-java: duplicate fields should be rejected, and input fields from the base definition should precede extension fields. Done means both behaviors are covered by tests and match graphql-java for the planned 15.0.0 change.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

enhancement

Interface extensions now keep the first of a repeated field and log a warning (#855), but object extensions still silently keep the last one:

type Query {
    "from the type"
    greeting: String
}

extend type Query {
    "from the extension"
    greeting: String
}

builds greeting with "from the extension". Input objects also list the fields of their extensions before their own, so input Filter { term: String } plus extend input Filter { limit: Int } gives limit, term.

graphql-java rejects the repeated field and lists base fields first. Changing either changes existing schemas, so this has to wait for 15.0.0, together with #863.

Linguagem predominante
Kotlin
Estrelas
824
Forks
175
Merge médio
2d 5h
PRs com merge (30d)
52

Preparar o ambiente

Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de graphql-java-kickstart/graphql-java-tools

Todas as issues de graphql-java-kickstart/graphql-java-tools

Issues semelhantes

Mais issues de Kotlin

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.