redhat-developer / redhat-developer/vscode-java
Lombok: Duplicate annotation of non-repeatable type @JsonProperty.
Nessuno ha ancora preso questa issue.
- Lingua principale
- TypeScript
- Stelle
- 2.3k
- Fork
- 546
- Merge medio
- 20h 1m
- PR unite (30g)
- 11
Descrizione
I went from 1.41 to 1.49. Downgraded to 1.48, 1.47, 1.46 with same issue, so not sure when that started. I cannot go back too far since I think it becomes incompatible with Cursor.
It seems that this is the issue: https://github.com/projectlombok/lombok/issues/3946
And theres this PR that supposedly would fix it: https://github.com/projectlombok/lombok/pull/3963
To reproduce (taken from other issue, same error in vscode):
Set up lombok.config with lombok.copyJacksonAnnotationsToAccessors=true.
Create a class like the one below in Eclipse with Lombok plugin installed.
@Data
public class Person {@JsonProperty("name") private String name;}
This seems like a fairly important fix. Any way to fasttrack that fix on the other side ?
Thanks!
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia riproducendo il problema con lombok.config impostato su lombok.copyJacksonAnnotationsToAccessors=true e l’esempio Person che usa @Data e @JsonProperty. Esamina la issue Lombok correlata #3946 e la pull request #3963, quindi determina se vscode-java debba apportare una modifica di integrazione definita. Non è chiaro quando il lavoro possa considerarsi concluso, perché la segnalazione richiede principalmente una correzione upstream di Lombok.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- java, vscode
- Ambito
- developer-experience, tooling
- Tipo di issue
- Bug
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100