JavaWebStack / JavaWebStack/orm
Enhanced support for the @Deprecated annotation.
- 主要語言
- Java
- 星號
- 7
- 分支
- 1
- PR 合併指標
- 30 天內沒有已合併 PR
描述
**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.
貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
首先定位 auto migrator 和 ORM 模型的進入點,然後檢查目前如何處理執行階段註解和缺少的資料表。驗證對已棄用模型所要求的行為:現有資料表仍可使用,而不存在的資料表會被忽略,ORM 方法不執行任何操作或回傳空結果。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- java
- 領域
- database
- Issue 類型
- 功能
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100