Optimize Schema to provide both fields and ID options as lazy ghosts #36

Open
opened 2026-09-03 17:11:50 +02:00 by c.fahner · 1 comment
Owner

Currently the whole entity has to be analyzed just to look at the $idOptions property. The Schema class could instead provide both as lazy ghosts and only analyze each property on-demand.

The $idOptions property could be determined based on direct reflection of the $id parameter of the IdentifiableEntity, instead of iterating each parameter.

Currently the whole entity has to be analyzed just to look at the `$idOptions` property. The `Schema` class could instead provide both as lazy ghosts and only analyze each property on-demand. The `$idOptions` property could be determined based on direct reflection of the `$id` parameter of the `IdentifiableEntity`, instead of iterating each parameter.
Author
Owner

Should not prevent #39.

Should not prevent #39.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
slendium/ocd#36
No description provided.