Hein
b87841a51c
feat(restheadspec): ✨ Add custom SQL JOIN support
...
- Introduced `x-custom-sql-join` header for custom SQL JOIN clauses.
- Supports single and multiple JOINs, separated by `|`.
- Enhanced query handling to apply custom JOINs directly.
- Updated documentation to reflect new functionality.
- Added tests for parsing custom SQL JOINs from query parameters and headers.
2026-01-15 14:07:45 +02:00
Hein
b7a67a6974
fix(headers): 🐛 handle search on computed columns
Build , Vet Test, and Lint / Run Vet Tests (1.24.x) (push) Successful in -27m24s
Build , Vet Test, and Lint / Run Vet Tests (1.23.x) (push) Successful in -26m56s
Build , Vet Test, and Lint / Build (push) Successful in -27m1s
Build , Vet Test, and Lint / Lint Code (push) Successful in -26m32s
Tests / Integration Tests (push) Failing after -27m44s
Tests / Unit Tests (push) Successful in -27m26s
2026-01-12 11:12:42 +02:00
Hein
8f5a725a09
Bugfix with xfiles
2025-12-30 14:12:07 +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
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
1261960e97
Ability to handle multiple x-custom- headers
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-11-21 12:15:07 +02:00
Hein
76bbf33db2
Fixed SingleRecordAsObject true when handleRead with no id
2025-11-21 11:49:08 +02:00
Hein
02c9b96b0c
Better SanitizeWhereClause
2025-11-21 11:42:01 +02:00
Hein
a931b8cdd2
Better preloads
2025-11-21 10:41:58 +02:00
Hein
7e76977dcc
Lots of refactoring, Fixes to preloads
2025-11-21 10:17:20 +02:00
Hein
7853a3f56a
cql_columns parsing and recursive preloading. Also added legacy header support for limt(s,e) ,sort(x,y,-z)
2025-11-21 09:15:40 +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
745564f2e7
More Panic Recovery for reflection on orm
2025-11-20 15:20:21 +02:00
Hein
311e50bfdd
Better relation lookup
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-11-20 14:30:59 +02:00
Hein
c95bc9e633
Added x-files feature
2025-11-20 12:47:36 +02:00
Hein
07b09e2025
handle JSON sql columns
2025-11-20 12:04:19 +02:00
Hein
cdfb7a67fd
Added Single Record as Object feature
2025-11-19 13:58:52 +02:00
Hein
1db1b924ef
Proper handling of x-preload-col-where
2025-11-11 16:53:02 +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
faafe5abea
Added content-range headers
2025-11-10 12:25:09 +02:00
Hein
3eb17666bf
Migration to Bitech
2025-11-10 11:43:15 +02:00
Hein
a5d97cc07b
Fixed the filters
2025-11-07 15:58:24 +02:00
Hein
f518a3c73c
Some validation and header decoding
2025-11-07 13:31:48 +02:00
Hein
07c239aaa1
Make sure to enable Clean JSON when select fields given
2025-11-07 11:00:56 +02:00
Hein
1adca4c49b
Content Types and Respose fixes for restheadpsec
2025-11-07 10:55:42 +02:00
Hein
8e06736701
Massive refactor and introduction of restheadspec
2025-11-06 16:15:35 +02:00