|
|
ae96dc56e1
|
review: remove the possibility to insert raw entities into catalog
|
2026-03-09 08:39:09 +01:00 |
|
|
|
67402dde03
|
review: remove Default for Entity
|
2026-03-09 08:39:09 +01:00 |
|
|
|
06a8b52e20
|
review: avoid using class in entity construction relying on T and EAV trait
|
2026-03-09 08:39:09 +01:00 |
|
|
|
cad5539a44
|
review: avoid using class string relying on T and EAV trait
|
2026-03-09 08:39:09 +01:00 |
|
|
|
733ffc36aa
|
doc: add doc comments to catalog implementation
|
2026-03-09 08:39:09 +01:00 |
|
|
|
cb22bf64e7
|
feat: return iterator from list functions
|
2026-03-09 08:39:09 +01:00 |
|
|
|
05085a0f7b
|
feat: make ref_date optional
|
2026-03-09 08:39:09 +01:00 |
|
|
|
36bb9e3845
|
feat: add ref_date field to entity
|
2026-03-09 08:39:09 +01:00 |
|
|
|
cf3ab35144
|
fix: correct intended use for entity state
|
2026-03-09 08:39:09 +01:00 |
|
|
|
c4b7352b8c
|
feat: add get_by_class_and_attribute function to catalog
|
2026-03-09 08:39:09 +01:00 |
|
|
|
ddd1957c44
|
feat: add unwrap_opt function to entity to unwrap optional values
|
2026-03-09 08:39:09 +01:00 |
|
|
|
1a890ea98a
|
chore: clean code from stdout logging
|
2026-03-09 08:39:09 +01:00 |
|
|
|
97e54e7891
|
feat: add entity state to speed up catalog persist function
|
2026-03-09 08:39:09 +01:00 |
|
|
|
8cf8e36b2a
|
refactor: use items.insert instead of insert to add entities after load
|
2026-03-09 08:39:09 +01:00 |
|
|
|
78fb2e6499
|
chore: run cargo format
|
2026-03-09 08:39:09 +01:00 |
|
|
|
e0331921ee
|
feat: add entity_class and attribute_id indexes to db structure
|
2026-03-09 08:39:09 +01:00 |
|
|
|
835feb7450
|
fix: force bool value to 0 or 1 into db
|
2026-03-09 08:39:09 +01:00 |
|
|
|
22d58c4c5f
|
feat: add unwrap_or to entity, rewrite unwrap
|
2026-03-09 08:39:09 +01:00 |
|
|
|
f91b755619
|
feat: add function to list entities by class
|
2026-03-09 08:39:08 +01:00 |
|
|
|
fecfc46751
|
feat: add load_by_class function to catalog
|
2026-03-09 08:39:08 +01:00 |
|
|
|
ab491130a7
|
refactor: extract load_attributes from load_by_id
|
2026-03-09 08:39:08 +01:00 |
|
|
|
172cffaad2
|
feat: add has_attribute function to entity
|
2026-03-09 08:39:08 +01:00 |
|
|
|
8852a9569e
|
feat: add load_by_id function to catalog
|
2026-03-09 08:39:08 +01:00 |
|
|
|
ed40d87e2f
|
fix: remove useless initialization during catalog construction
|
2026-03-09 08:39:08 +01:00 |
|
|
|
6f77463038
|
refactor: split persist function into sub functions for readability
|
2026-03-09 08:39:08 +01:00 |
|
|
|
502fc8b7d0
|
refactor: remove ToEAV trait in favor of Into<Entity>
|
2026-03-09 08:39:08 +01:00 |
|
|
|
70c3b9108e
|
refactor: remove FromEAV trait in favor of From<Entity>
|
2026-03-09 08:39:08 +01:00 |
|
|
|
af860bdb22
|
refactor: remove trait to_value in favor of Into<Value>
|
2026-03-09 08:39:08 +01:00 |
|
|
|
90fa4119dd
|
feat: add catalog persistance
|
2026-03-09 08:39:08 +01:00 |
|
|
|
b063ecaf9c
|
feat: add sqlite db initialization from catalog
|
2026-03-09 08:39:08 +01:00 |
|
|
|
3c31009db2
|
test: add rusty budget scenario
|
2026-03-09 08:39:08 +01:00 |
|
|
|
c275c60b34
|
feat: add get function to catalog
|
2026-03-09 08:39:08 +01:00 |
|
|
|
804e9b8536
|
feat: add insert_many utility functions to catalog
|
2026-03-09 08:39:08 +01:00 |
|
|
|
d752ed0140
|
feat: remove useless entity flags
|
2026-03-09 08:39:08 +01:00 |
|
|
|
b7790e2f47
|
feat: replace persist with insert (in memory)
|
2026-03-09 08:39:08 +01:00 |
|
|
|
5d06946a4c
|
feat: add mock implementation for entity catalog
|
2026-03-09 08:39:08 +01:00 |
|
|
|
4ff1a85647
|
wip: add loaded and persisted flags with function placeholders
|
2026-03-09 08:39:08 +01:00 |
|
|
|
7d348052d5
|
feat: add super trait EAV
|
2026-03-09 08:39:08 +01:00 |
|
|
|
3a8c000665
|
feat: add utility functions with_id and with_class for entity construction
|
2026-03-09 08:39:08 +01:00 |
|
|
|
342c971ce3
|
feat: add unwrap utility function to entity
|
2026-03-09 08:39:08 +01:00 |
|
|
|
3767e6f73f
|
test: demo attribute value setting and entity reletions
|
2026-03-09 08:39:08 +01:00 |
|
|
|
c6ab35584e
|
test: add intended use tests to try/demo the library
|
2026-03-09 08:39:08 +01:00 |
|
|
|
357296edd6
|
feat: add to_value implementation for &str
|
2026-03-09 08:39:08 +01:00 |
|
|
|
e8cb7d8e53
|
feat: add id field to entity, implement ToValue for entity
|
2026-03-09 08:39:08 +01:00 |
|
|
|
6bc97e36c1
|
test: add test for entity new and with_attribute constructor functions
|
2026-03-09 08:39:08 +01:00 |
|
|
|
f32d828b2a
|
feat: add trait ToValue; implement it for base types
|
2026-03-09 08:39:08 +01:00 |
|
|
|
01568e87c0
|
feat: add utility function to set and unset an attribute from an entity
|
2026-03-09 08:39:08 +01:00 |
|
|
|
55e1b5d9cf
|
feat: add utility function to read an attribute value from an entity
|
2026-03-09 08:39:08 +01:00 |
|
|
|
e274ccafec
|
feat: add contructor utility functions to entity and attribute
|
2026-03-09 08:39:08 +01:00 |
|
|
|
1786c9104f
|
feat: add traits to transform self from and to eav
|
2026-03-09 08:39:07 +01:00 |
|