Skip to content

docs: add rapiq to the extensions list in the README - #12779

Merged
alumni merged 1 commit into
typeorm:masterfrom
tada5hi:docs/readme-add-rapiq-extension
Aug 26, 2026
Merged

alumni merged 1 commit into
typeorm:masterfrom
tada5hi:docs/readme-add-rapiq-extension

Conversation

@tada5hi

@tada5hi tada5hi commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

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 SelectQueryBuilder by 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 with prettier --check README.md.

Closes #12778

Pull-Request Checklist

  • Code is up-to-date with the master branch
  • This pull request links a relevant issue using a closing keyword:
    Fixes #NNNN, Closes #NNNN, or Resolves #NNNN
  • There are new or updated tests validating the change (tests/**.test.ts) - N/A, README-only change
  • Documentation has been updated to reflect this change (docs/docs/**.md) - N/A, this change is the documentation

Copilot AI lite review requested due to automatic review settings August 11, 2026 16:19

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@github-actions github-actions Bot added the linked-issue PR references an issue label Aug 11, 2026
@qodo-free-for-open-source-projects

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)

Grey Divider

Great, no issues found!

Qodo reviewed your code and found no material issues that require review

Grey Divider

  • Author self-review: I have reviewed the code review findings, and addressed the relevant ones.
Tip of the day
💡 Did you know, you can group findings by type and pick your Finding display, from Minimal to Full

More tips ↗ | Customize Qodo ↗ | Qodo docs ↗

Grey Divider

Qodo Logo

@alumni

alumni commented Aug 26, 2026

Copy link
Copy Markdown
Collaborator

@tada5hi Cool, I didn't know about rapiq :)

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 rapiq a few years ago, we might have given it a though ;)

@gioboa gioboa left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's great 👏

@alumni
alumni merged commit dd98d0f into typeorm:master Aug 26, 2026
16 checks passed
@github-actions github-actions Bot added this to the 2.0.next milestone Aug 26, 2026
@tada5hi

tada5hi commented Aug 26, 2026

Copy link
Copy Markdown
Contributor Author

@tada5hi Cool, I didn't know about rapiq :)

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 rapiq a few years ago, we might have given it a though ;)

@alumni Thanks a lot 🙏
I would have been really happy if it had been helpful to you, too :)

Looks like OData covers the same ground, with standardization on its side, which rapiq does not have.
The difference is that rapiq's syntax is not fixed.
It parses into a shared query AST and the syntax on top is a swappable dialect (simple, expression and mongo today),
so an OData dialect would just be another parser package, with the schema and the TypeORM adapter underneath unchanged.
Most of it maps across cleanly; arithmetic, the string and date functions and nested $expand options do not.

Do you lean on nested $expand options, and does anything besides your own frontend consume those endpoints?

@alumni

alumni commented Aug 26, 2026

Copy link
Copy Markdown
Collaborator

Do you lean on nested $expand options, and does anything besides your own frontend consume those endpoints?

Yeah, we use quite a lot of features, nested $expand, $apply (groupby+aggregate), $filter (and the full-text $search), $metadata too (for discovering services), including annotations. And there are external services that connect to us + we connect to other external services via OData.

Most of it maps across cleanly; arithmetic, the string and date functions and nested $expand options do not.

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 django-rest-framework does certain things in terms of separation of concepts and we did copy a few ideas from there :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

linked-issue PR references an issue

Development

Successfully merging this pull request may close these issues.

docs: add rapiq to the extensions list in the README

4 participants