Hein
289cd74485
feat(database): ✨ Enhance Preload and Join functionality
...
Build , Vet Test, and Lint / Run Vet Tests (1.23.x) (push) Successful in -22m33s
Build , Vet Test, and Lint / Run Vet Tests (1.24.x) (push) Successful in -22m11s
Build , Vet Test, and Lint / Build (push) Successful in -26m39s
Build , Vet Test, and Lint / Lint Code (push) Successful in -25m53s
Tests / Integration Tests (push) Failing after -27m30s
Tests / Unit Tests (push) Successful in -27m5s
* Introduce skipAutoDetect flag to prevent circular calls in PreloadRelation.
* Improve handling of long alias chains in PreloadRelation.
* Ensure JoinRelation uses PreloadRelation without causing recursion.
* Clear deferred preloads after execution to prevent re-execution.
feat(recursive_crud): ✨ Filter valid fields in nested CUD processing
* Add filterValidFields method to validate input data against model structure.
* Use reflection to ensure only valid fields are processed.
feat(reflection): ✨ Add utility to get valid JSON field names
* Implement GetValidJSONFieldNames to retrieve valid JSON field names from model.
* Enhance field validation during nested CUD operations.
fix(handler): 🐛 Adjust recursive preload depth limit
* Change recursive preload depth limit from 5 to 4 to prevent excessive recursion.
2026-01-14 17:02:26 +02:00
Hein
6f05f15ff6
feat(dbmanager): ✨ Database connection Manager
2026-01-02 16:19:33 +02:00
Hein
9351093e2a
Fixed order by. Added OrderExpr to database interface
Build , Vet Test, and Lint / Run Vet Tests (1.23.x) (push) Waiting to run
Build , Vet Test, and Lint / Run Vet Tests (1.24.x) (push) Waiting to run
Build , Vet Test, and Lint / Lint Code (push) Waiting to run
Build , Vet Test, and Lint / Build (push) Waiting to run
Tests / Unit Tests (push) Waiting to run
Tests / Integration Tests (push) Waiting to run
2025-12-17 16:50:33 +02:00
Hein
31ad217818
Event Broken Concept
2025-12-12 09:23:54 +02:00
Hein
4cc943b9d3
Added row PgSQLAdapter
Build , Vet Test, and Lint / Run Vet Tests (1.23.x) (push) Waiting to run
Build , Vet Test, and Lint / Run Vet Tests (1.24.x) (push) Waiting to run
Build , Vet Test, and Lint / Lint Code (push) Waiting to run
Build , Vet Test, and Lint / Build (push) Waiting to run
Tests / Integration Tests (push) Waiting to run
Tests / Unit Tests (push) Waiting to run
2025-12-10 15:28:09 +02:00
Hein
99307e31e6
More debugging on bun for scan issues
2025-12-10 11:16:25 +02:00
Hein
e3f7869c6d
Bun scan debugging
2025-12-10 11:07:18 +02:00
Hein
ca4e53969b
Better tests
Build , Vet Test, and Lint / Run Vet Tests (1.23.x) (push) Waiting to run
Build , Vet Test, and Lint / Run Vet Tests (1.24.x) (push) Waiting to run
Build , Vet Test, and Lint / Lint Code (push) Waiting to run
Build , Vet Test, and Lint / Build (push) Waiting to run
Tests / Unit Tests (push) Waiting to run
Tests / Integration Tests (push) Waiting to run
2025-12-09 15:32:16 +02:00
Hein
db2b7e878e
Better handling of preloads
2025-12-09 15:12:17 +02:00
Hein
9572bfc7b8
Fix qualified column reference (like APIL.rid_hub) in a preload:
2025-12-09 14:46:33 +02:00
Hein
f0962ea1ec
Added EnableQueryDebug log
2025-12-09 14:37:09 +02:00
Hein
8fcb065b42
Better Query Debugging
2025-12-09 14:31:26 +02:00
Hein
2a84652dba
Middleware enhancements
2025-12-08 08:47:13 +02:00
Hein
b741958895
Code sanity fixes, added middlewares
Tests / Run Tests (1.23.x) (push) Has been cancelled
Tests / Run Tests (1.24.x) (push) Has been cancelled
Tests / Lint Code (push) Has been cancelled
Tests / Build (push) Has been cancelled
2025-12-08 08:28:43 +02:00
Hein
06b2404c0c
Remove blank array if no args
2025-12-03 12:25:51 +02:00
Hein
93df33e274
UnderlyingRequest and UnderlyingResponseWriter
Tests / Run Tests (1.23.x) (push) Waiting to run
Tests / Run Tests (1.24.x) (push) Waiting to run
Tests / Lint Code (push) Waiting to run
Tests / Build (push) Waiting to run
2025-12-02 17:40:44 +02:00
Hein
abd045493a
mux UnderlyingRequest
2025-12-02 17:34:18 +02:00
Hein
163593901f
Huge preload chains causing errors, workaround to do seperate selects.
Tests / Run Tests (1.23.x) (push) Has been cancelled
Tests / Run Tests (1.24.x) (push) Has been cancelled
Tests / Lint Code (push) Has been cancelled
Tests / Build (push) Has been cancelled
2025-11-21 17:09:11 +02:00
Hein
7e76977dcc
Lots of refactoring, Fixes to preloads
2025-11-21 10:17:20 +02:00
Hein
c2e0c36c79
Restheadspec now takes parameters from query parameters and headers. Allows for backward compatibility with our old dojo clients
2025-11-21 08:56:58 +02:00
Hein
0d4909054c
Better handling of preload where conditions and a few panic changes
2025-11-20 16:50:26 +02:00
Hein
745564f2e7
More Panic Recovery for reflection on orm
2025-11-20 15:20:21 +02:00
Hein
3d5334002d
Fixes on Table Name on insert
2025-11-20 11:49:07 +02:00
Hein
af3260864d
INSERT statements were failing with duplicate key errors because the SQL being generated
2025-11-20 10:31:25 +02:00
Hein
ca6d2deff6
Fixed insert statement bug
2025-11-20 10:11:26 +02:00
Hein
7d6a9025f5
Fixed hardcoded id
2025-11-20 09:40:11 +02:00
Hein
a44ef90d7c
Fixes on getRelationshipInfo, ShouldUseNestedProcessor
2025-11-19 18:03:25 +02:00
Hein
8b7db5b31a
reflection-based column validation for UpdateQuery
2025-11-19 17:41:15 +02:00
Hein
94f013c872
Preload fixes
2025-11-11 15:54:43 +02:00
Hein
37b4b75175
Fixed preload and id fields with GetPrimaryKeyName
2025-11-11 14:32:41 +02:00
Hein
0cef0f75d3
Fixed computed columns
2025-11-11 12:28:53 +02:00
Hein
006dc4a2b2
Using scan model method for better relation handling. e.g bun When querying has-many or many-to-many relationships, you should use Model instead of the dest parameter in Scan
2025-11-11 11:58:41 +02:00
Hein
ecd7b31910
Fixed linting issues
2025-11-11 11:32:30 +02:00
Hein
682716dd31
Linting fixes
2025-11-11 11:03:02 +02:00
Hein
ceaa251301
Updated logging, added getRowNumber and a few more
2025-11-10 17:02:37 +02:00
Hein
3eb17666bf
Migration to Bitech
2025-11-10 11:43:15 +02:00
Hein
c8704c07dd
Added cursor filters and hooks
2025-11-10 10:22:55 +02:00
Hein
c84dd7dc91
Lets try the model approach again
2025-11-07 14:18:15 +02:00
Hein
f1c6b36374
Bun Adaptor updates
2025-11-07 14:03:40 +02:00
Hein
abee5c942f
Count Fixes
2025-11-07 13:54:24 +02:00
Hein
3b2d05465e
Fixed tablename and schema lookups
2025-11-07 10:28:14 +02:00
Hein
d122c7af42
Updated how model registry works
2025-11-07 08:26:50 +02:00
Hein
8e06736701
Massive refactor and introduction of restheadspec
2025-11-06 16:15:35 +02:00