Separating schema and resource names in frontend for more genericity

This commit is contained in:
2023-01-28 14:27:52 +01:00
parent 8951826e8e
commit 6f19f75a0b
6 changed files with 48 additions and 23 deletions

View File

@@ -35,7 +35,7 @@ class Employee(BaseModel):
entity_id: str = Field(foreignKey={
"reference": {
"resource": "entity",
"displayName": "_id",
"schema": "Entity",
"condition": "entity_data.type=individual"
}
})