Repository navigation
docs: add rapiq to the extensions list in the README - #12779
Conversation
Code Review by Qodo🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)
Great, no issues found!Qodo reviewed your code and found no material issues that require review
Tip of the day💡 Did you know, you can group findings by type and pick your Finding display, from Minimal to Full |
|
@tada5hi Cool, I didn't know about We use OData quite heavily at work, which is quite similar and is standardized (so compatible with other software we integrate with and libraries we use), but we had to build our own implementation since there aren't many server-side libraries. If we knew about |
@alumni Thanks a lot 🙏 Looks like OData covers the same ground, with standardization on its side, which rapiq does not have. Do you lean on nested |
Yeah, we use quite a lot of features, nested
We are converting most of the OData functions to SQL functions, but they are quite dependent on the SQL dialect. We build this directly on top of TypeORM entities (and database tables) with custom decorators, but sometimes I wished there was an intermediate DTO layer to separate concepts better. We did separate business logic (bound/unbound functions) though. I like how |
Description of change
Adds rapiq to the Extensions list in the root
README.md.rapiq (Rest Api Query) defines a scheme for REST request queries (fields, filters, relations, pagination, sort). Client input is parsed into a typed AST, validated against a server-side allow-list schema, and applied to a TypeORM
SelectQueryBuilderby its TypeORM adapter, so endpoints do not have to hand-roll query-parameter parsing and whitelisting.The change is a single bullet appended to the existing list, matching the surrounding
<description> - [<name>](<link>)style. Verified withprettier --check README.md.Closes #12778
Pull-Request Checklist
masterbranchFixes #NNNN,Closes #NNNN, orResolves #NNNNtests/**.test.ts) - N/A, README-only changedocs/docs/**.md) - N/A, this change is the documentation