objectbox / objectbox/objectbox-java

secondary name exists in binary,can it be removed?

オープン
#1,051 コメント 5 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

enhancement
主要言語
Java
スター
4.6k
フォーク
311
PR マージ指標
30日以内にマージされた PR はありません

説明

I used @NameInDb to rename the field names in the DB, but after testing in the security department I found that the member names of the entity still exist in the binary. I changed the name in the entity again and objectbox still works. After using NameInDb, is the actual member name of the entity still valuable? For me, it takes extra space and leaks my actual mapped names of entity members, I really like objectbox, I'm trying to modify the generation tool, but no progress. Is there an easy way to configure it? I don't seem to find it in the documentation (maybe I'm missing something )

objectbox ver:3.1.1
work on android project

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

ObjectBox 3.1.1 における @NameInDb の動作から始め、生成されるバイナリに影響する構成オプションについて、generator と Android のドキュメントを確認します。エンティティメンバー名を保持する必要があるか、削除可能かを判断し、その結果をドキュメント化されたガイダンスとするか、generator の範囲を限定した変更とするかを定義します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
android, java
領域
databases, mobile
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。