Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Aperta
#865 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
65/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
java, kotlin

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Kotlin
Stelle
824
Fork
175
Merge medio
2g 5h
PR unite (30g)
52

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di graphql-java-kickstart/graphql-java-tools

Tutte le issue di graphql-java-kickstart/graphql-java-tools

Issue simili

Altre issue su Kotlin

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.