Annotation (processing) improvements

Aperta
#758 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@Citymonstret ci sta già lavorando.

Dal 27/7/2024.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

enhancement

During the command method validation we should attempt to validate nullability, with some support for common nullability annotations.

If a parameter is required we should output a warning if it's marked as nullable. If it's optional without a default value, then we should probably error if it's marked as non-nullable.

We ought to validate whether primitive values are optional without defaults, as this will fail at runtime.

It'd also be good if we added some support for third-party annotations at runtime. Such as existing range annotations, and possibly even existing pattern annotations (for regex), etc.

We should properly mark our annotations as inherited and documented, and improve our support for meta-annotations and annotation composition.

None of this would break API and can be done after the 2.0 release.

Lingua principale
Java
Stelle
546
Fork
61
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

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 Incendo/cloud

Tutte le issue di Incendo/cloud

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.