99designs / 99designs/gqlgen

Response is not match embedded struct already have json tag

Aperta
#2,949 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Go
Stelle
10.8k
Fork
1.3k
Merge medio
2g 36m
PR unite (30g)
26

Descrizione

## I have embedded struct:
![code1](https://github.com/99designs/gqlgen/assets/57308712/d228c51e-bf6f-471f-9889-2946e57e179c)
## I have struct response:
![code2](https://github.com/99designs/gqlgen/assets/57308712/dfdff9ba-007e-4360-9464-9702100faafb)
## I have error:
* 'serial.get' has invalid keys: code, codeDisplay, copyrightTerm, copyrightUnit, createdAt, createdByID, history, id, lockReason, password, productID, providerID, seller, status, type, updatedAt, warrantyPeriodProvider, warrantyUnit

### versions
- github.com/99designs/gqlgen@v0.17.25
- go@1.21.5

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.