JavaWebStack / JavaWebStack/orm

Enhanced support for the @Deprecated annotation.

Offen
#54 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement
Vorherrschende Sprache
Java
Sterne
7
Forks
1
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

**Is your feature request related to a problem? Please describe.**
Many applications evolve over time and this also means that Models are getting deprecated and aren't used anymore. By supporting this annotation we introduce a clear way for the engineer and ORM to handle this.

**Describe the solution you'd like**

- The auto migrator should ignore the annotated models **if the table doesn't exist already**.
- The ORM model should still be functional, if the table exists else the methods do nothing/return empty.

**Describe alternatives you've considered**
Check the annotation myself and don't make calls to the ORM methods.

**Additional Context**
The annotation has the RUNTIME RetentionPolicy and is therefore accessible at runtime.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Beginne damit, die Einstiegspunkte des auto migrator und der ORM-Modelle zu finden, und untersuche dann, wie Laufzeitanmerkungen und fehlende Tabellen derzeit behandelt werden. Überprüfe das gewünschte Verhalten für veraltete Modelle: Vorhandene Tabellen bleiben nutzbar, während nicht vorhandene Tabellen ignoriert werden und ORM-Methoden nichts tun oder leere Ergebnisse zurückgeben.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
java
Bereich
database
Issue-Typ
Feature
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.