Data definition with entity relations #5

Closed
opened 2026-07-28 07:18:15 +02:00 by c.fahner · 1 comment
Owner

Currently it is not possible to declare relationships between entities or indices on fields. Schema objects should contain definitions of relationships to other entities.

A field that is declared with an Entity type, should show up as a regular field in the Schema with a type that can hold the id of the referenced entity. Requires #70 to be completed.

Fields should also be declarable as unique or indexed. Non-entities should also be able to manually declare field(s) as its primary. Some of these indices can consist of multiple fields.

The issue of resolving the referenced Entity object by its id has moved to #66. Nesting objects inside a JSON field has moved to #67.

Currently it is not possible to declare relationships between entities or indices on fields. `Schema` objects should contain definitions of relationships to other entities. A field that is declared with an `Entity` type, should show up as a regular field in the `Schema` with a type that can hold the `id` of the referenced entity. Requires #70 to be completed. Fields should also be declarable as unique or indexed. Non-entities should also be able to manually declare field(s) as its primary. Some of these indices can consist of multiple fields. The issue of resolving the referenced `Entity` object by its `id` has moved to #66. Nesting objects inside a JSON field has moved to #67.
c.fahner added this to the v0.2 milestone 2026-08-20 19:51:15 +02:00
c.fahner added spent time 2026-09-22 06:58:17 +02:00
30 minutes
c.fahner stopped working 2026-09-29 06:49:16 +02:00
20 minutes 30 seconds
c.fahner added spent time 2026-09-30 16:35:52 +02:00
45 minutes
c.fahner canceled time tracking 2026-09-30 17:18:02 +02:00
c.fahner added spent time 2026-09-30 17:18:10 +02:00
20 minutes
c.fahner added spent time 2026-09-30 19:46:28 +02:00
1 hour 15 minutes
c.fahner added spent time 2026-10-01 16:43:20 +02:00
1 hour
c.fahner stopped working 2026-10-01 20:14:25 +02:00
2 hours 39 minutes
c.fahner canceled time tracking 2026-10-03 11:09:12 +02:00
c.fahner added spent time 2026-10-03 11:09:18 +02:00
2 hours 55 minutes
c.fahner stopped working 2026-10-03 12:24:32 +02:00
1 hour 15 minutes
c.fahner added spent time 2026-10-03 18:18:20 +02:00
30 minutes
c.fahner stopped working 2026-10-03 19:12:10 +02:00
53 minutes 46 seconds
c.fahner added spent time 2026-10-05 19:17:04 +02:00
1 hour
c.fahner added spent time 2026-10-06 16:09:54 +02:00
1 hour
c.fahner stopped working 2026-10-06 17:14:23 +02:00
1 hour 4 minutes
c.fahner stopped working 2026-10-06 19:39:39 +02:00
52 minutes 44 seconds
c.fahner added spent time 2026-10-06 19:39:56 +02:00
45 minutes
c.fahner added spent time 2026-10-07 16:45:26 +02:00
30 minutes
c.fahner stopped working 2026-10-07 18:59:57 +02:00
42 minutes 47 seconds
c.fahner added spent time 2026-10-08 16:27:26 +02:00
1 hour
c.fahner canceled time tracking 2026-10-08 17:58:17 +02:00
c.fahner stopped working 2026-10-08 20:23:08 +02:00
2 hours 14 minutes
c.fahner added spent time 2026-10-09 17:15:00 +02:00
30 minutes
Author
Owner

I am removing the ability to set names for fields that don't match the parameter names. The gain is not worth the increased complexity (required checking for duplicates, inability to grab a small subset of fields since you have to check the entire list for duplicates). Making field names match parameter names also automatically prevents certain unsafe characters being used.

This makes #83 obsolete.

I am removing the ability to set names for fields that don't match the parameter names. The gain is not worth the increased complexity (required checking for duplicates, inability to grab a small subset of fields since you have to check the entire list for duplicates). Making field names match parameter names also automatically prevents certain unsafe characters being used. This makes #83 obsolete.
c.fahner stopped working 2026-10-09 19:55:15 +02:00
2 hours 39 minutes
c.fahner stopped working 2026-10-10 10:07:36 +02:00
2 hours 23 minutes
c.fahner stopped working 2026-10-10 12:34:47 +02:00
1 hour 42 minutes
c.fahner stopped working 2026-10-10 16:33:22 +02:00
3 hours 13 minutes
c.fahner added spent time 2026-10-10 20:36:22 +02:00
30 minutes
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Total time spent: 1 day 8 hours
c.fahner
1 day 8 hours
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
slendium/ocd#5
No description provided.