Skip to content

Add support for raw queries - #61

Merged
dknogl merged 6 commits into
masterfrom
raw_queries
Jul 20, 2026
Merged

Add support for raw queries#61
dknogl merged 6 commits into
masterfrom
raw_queries

Conversation

@SH-Exact

@SH-Exact SH-Exact commented Mar 30, 2026

Copy link
Copy Markdown
Contributor

This PR adds support for "raw queries" when using the query language. The type of where of a SomeQuery cannot depict alle possible operations of the weclapp's REST API therefor a string can be passed now which depicts the complete filter.
In this context tests are added which also cover type safety. It has to be taken into account that the SDK can be generated with several options which results in different types.
Therefor the eslint, rollup and vitest config are adapted and several npm scripts are introduced to be able to execute tests depending on the currently generated SDK.
Addtionally README and CONTRIBUTING was updated to give information about the usage of "raw queries" and about how to write and use SDK generator tests.

@SH-Exact SH-Exact self-assigned this Mar 30, 2026
SH-Exact added 2 commits May 7, 2026 15:23
Adapted types and functions
Added tests
Updated dependencies safely
Adapted github workflow
Add support for tests with and without query language
refactor test structure
adapt tsconfig files
add and adapt npm scripts
adapt github workflow file
@SH-Exact
SH-Exact force-pushed the raw_queries branch 6 times, most recently from 25c1540 to 94331a5 Compare July 10, 2026 13:26
refactor test structure
add documentation
Add raw string to "orderBy"
Restructure tests
@dknogl dknogl added the feature label Jul 20, 2026
@dknogl
dknogl self-requested a review July 20, 2026 11:11
@dknogl
dknogl merged commit 4fc76da into master Jul 20, 2026
10 checks passed
@dknogl
dknogl deleted the raw_queries branch July 20, 2026 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants