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