Commit Graph

252 Commits

Author SHA1 Message Date
9fff7b7460 test: add tests to catalog.load_by_id function 2026-03-09 08:39:11 +01:00
335feade19 test: add tests to catalog.persist function 2026-03-09 08:39:11 +01:00
358a30f303 fix: handle EntityState::Updated state while persisting catalog 2026-03-09 08:39:10 +01:00
0cfeeb9134 test: add tests to catalog.persist function 2026-03-09 08:39:10 +01:00
827ac20e87 feat: add EntityState::Updated, change name from insert to upsert in catalog 2026-03-09 08:39:10 +01:00
c01cfaf027 test: add tests to catalog.persist function 2026-03-09 08:39:10 +01:00
fb8bfa301b test: add tests to catalog.delete function 2026-03-09 08:39:10 +01:00
193e78409f test: add tests for catalog.list_by_class_and_attribute function 2026-03-09 08:39:10 +01:00
d52da2d8ec test: add tests to catalog.list_by_class function 2026-03-09 08:39:10 +01:00
1079f404fb test: add tests to catalog.get function 2026-03-09 08:39:10 +01:00
c6742fcddd chore: add a command to extract devlog from commit messages 2026-03-09 08:39:10 +01:00
3e24f2fb91 test: add tests to check catalog insert and insert_many functions 2026-03-09 08:39:10 +01:00
16f76653e4 feat: add support for i32 and u32 primitive types 2026-03-09 08:39:10 +01:00
d0b6cc2927 test: add tests implementations for catalog init 2026-03-09 08:39:10 +01:00
2fffebc2c1 test: add test for catalog new 2026-03-09 08:39:10 +01:00
8a9119e692 test: add Item struct to be used in test scenarios 2026-03-09 08:39:10 +01:00
408022d479 chore: add a new just command to check for semver breaking changes 2026-03-09 08:39:10 +01:00
6242404cfb test: add a placeholder test battery for each sqlite function 2026-03-09 08:39:10 +01:00
9f9f6bca62 test: add placeholders for catalog tests 2026-03-09 08:39:10 +01:00
5c26f01890 review: clean code from comment blocks and placeholders 2026-03-09 08:39:10 +01:00
718176edbd doc: clean code for documentation output 2026-03-09 08:39:10 +01:00
63ecb15824 doc: add doc comments to ctalog struct description 2026-03-09 08:39:10 +01:00
5ec071ce63 doc: add doc comments to EAV trait 2026-03-09 08:39:10 +01:00
784c171871 doc: add doc comments to FailedTo 2026-03-09 08:39:10 +01:00
4c964efd42 doc: add entity_state doc comments 2026-03-09 08:39:10 +01:00
0eb0422443 review: change visibility to attribute and value structs 2026-03-09 08:39:10 +01:00
9a8f1f550b chore: run cargo format 2026-03-09 08:39:10 +01:00
062642ccd5 doc: add doc comments to entity struct 2026-03-09 08:39:10 +01:00
b0d290407d review: make value_of internal and remove unused function 2026-03-09 08:39:10 +01:00
02eddc19e3 doc: update readme with actual example code 2026-03-09 08:39:10 +01:00
8fb5a2ce72 doc: add a simple example of catalog use 2026-03-09 08:39:10 +01:00
03243f3288 feat: add with_opt_attribute convenince function to handle options 2026-03-09 08:39:10 +01:00
8f189f0640 doc: update instruction in README contributions section 2026-03-09 08:39:10 +01:00
5c4562afc2 doc: add doc comments for delete and improve doc comment for persist 2026-03-09 08:39:09 +01:00
8c0afe0c9c feat: add ToDelete state to entity and perform deletion while persisting 2026-03-09 08:39:09 +01:00
4c95b709c0 refactor: group sqlite-related errors under one enum 2026-03-09 08:39:09 +01:00
cac890aa06 feat: add error handling for load functions to catalog 2026-03-09 08:39:09 +01:00
5ec86bac7f feat: add error handling to catalog persist function 2026-03-09 08:39:09 +01:00
5a9b1a97ab refactor: call catalog.insert while looping during catalog.insert_many 2026-03-09 08:39:09 +01:00
21aaff25f4 feat: add error handling for database initialization 2026-03-09 08:39:09 +01:00
4170a6b469 chore: fix wrong -u flag to git push command in .justfile 2026-03-09 08:39:09 +01:00
31897711b9 doc: add more information to README.md 2026-03-09 08:39:09 +01:00
97ec240490 chore: rename justfile to .justfile 2026-03-09 08:39:09 +01:00
76a13005a7 chore: update justfile adding github.com to synced remotes 2026-03-09 08:39:09 +01:00
ed55836f6e chore: add justfile to handle codeberg.org repo sync 2026-03-09 08:39:09 +01:00
9adea85936 doc: add workspace and project structure information 2026-03-09 08:39:09 +01:00
146c7422bc doc: add minimal info and structure to readme.md 2026-03-09 08:39:09 +01:00
767f00ae36 feat: ensure entity and attributes are read in a single transaction 2026-03-09 08:39:09 +01:00
5230b8e5df test: rewrite intended use scenario 1 with some new features 2026-03-09 08:39:09 +01:00
ae96dc56e1 review: remove the possibility to insert raw entities into catalog 2026-03-09 08:39:09 +01:00