Updating resource paths for foreign keys

This commit is contained in:
2025-04-21 15:38:58 +02:00
parent bf02c4c10d
commit 71b9c42265
3 changed files with 7 additions and 7 deletions

View File

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