objectbox / objectbox/objectbox-java

Can not see any related ToMany field using ObjectBox Admin

未关闭
#1,151 3 条评论 7 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

enhancement
主要语言
Java
星标
4.6k
派生
311
PR 合并指标
30 天内没有已合并 PR

描述

I am using the latest version 3.7.0 and when looking at my data using ObjectBox Admin I can see the related Id field for ToOne relations.
However any ToMany relations (backlink or not) simple don't show up anywhere.
Not sure if it is considered too much data to show it or why it is missing.
But even if it is not possible to show all the data, at least the presence of the ToMany relation should be visible somewhere.
It's also not showing in the schema view.

In default.json it seem that ToOne show up as properties but ToMany are stored under relations.
Like I said, I think it could be listed in the schema view and at list it's existence should be visible in the data view as well.
Of course, ideally with data, but at least in some way.

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先阅读 default.json,并比较 ToOne 属性和 ToMany 关系的表示方式。然后检查 ObjectBox Admin schema 视图和数据视图的入口点,以确定关系存在性在哪些地方被省略。完成标准是 ToMany 关系在 schema 视图和数据视图中都能被直观地表示,即使不显示其完整内容。

由索引模型根据 Issue 内容生成。

评估

技术栈
java
领域
database
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。