“builtInEntity”是内置实体的新要求吗?

问题描述 投票:0回答:1

在 8 版本中,JDL 导入命令会产生类似的结果

 ERROR! In the relationship between MyEntity and User, MyEntity and User are not declared. If 'User' is a built-in entity declare like 'MyEntity to User with builtInEntity'.

在 jhipster.tech 上搜索“builtInEntity”没有结果。如果这是新功能/要求,则应正确记录。

jhipster
1个回答
0
投票

确实这可行,但没有记录

relationship OneToMany {
    Post{user} to User with builtInEntity
}

请参阅此相关问题。善良的马特·雷布尔证实了这一点 https://github.com/jhipster/generator-jhipster/issues/22844

© www.soinside.com 2019 - 2024. All rights reserved.