Commit Graph

9 Commits

Author SHA1 Message Date
Scott Idem
0f4b4d2f51 feat: Implement V3 ID Vision and fields_to_exclude_from_db across core models
This commit refactors numerous Pydantic models to align with the V3 ID Vision standard, ensuring that primary and foreign key fields are represented as clean string IDs in the API. It also introduces and populates the  ClassVar in each model to prevent view-only fields and linked objects from being inadvertently written to the database during PATCH/POST operations.

Specifically, this includes:
- Adding  to exclude view-derived or joined fields such as , , nested objects (e.g., , ), and convenience fields (e.g., ).
- Adjusting root validators to correctly map string IDs and strip internal integer IDs for API responses.
- Resolving a KeyError by adding  to .

These changes are crucial for maintaining data integrity and consistency with the V3 API architecture.
2026-02-24 16:21:27 -05:00
Scott Idem
aa5d3a53c0 Enable mod_badges_json and mod_exhibits_json config field for events 2023-09-28 16:38:49 -04:00
Scott Idem
fc5c5a2470 Enable mod_pres_mgmt_json config field for events 2023-09-28 12:31:43 -04:00
Scott Idem
815e9a45b4 Updates related to abstracts 2023-06-28 12:22:08 -04:00
Scott Idem
1f28f76006 Work on event files and related 2022-08-23 12:47:51 -04:00
Scott Idem
493f4a7365 Moving ID random generation to the SQL db instead. General clean up. 2022-06-30 15:04:19 -04:00
Scott Idem
e0b9c975b0 Work on event related and added new create_on and updated_on forced change to UTC. 2021-09-28 15:04:09 -04:00
Scott Idem
35e9178472 Work on event patch and list, account list, and minor changes 2021-09-28 13:22:27 -04:00
Scott Idem
1bb3867463 Working on stuff 2021-08-13 17:09:32 -04:00