@odata2ts/odata-query-objects
TypeScript icon, indicating that this package has built-in type declarations

0.21.0 • Public • Published

npm (scoped)

OData Query Objects

Q-Objects are building blocks which are generated by odata2ts. They are the counterpart to the typescript model interfaces and allow for complex and powerful query semantics, renaming and type conversion.

Documentation

Q-Objects Documentation

Main documentation for the odata2ts eco system: https://odata2ts.github.io

Tests

See folder test for unit tests.

Support, Feedback, Contributing

This project is open to feature requests, suggestions, bug reports, usage questions etc. via GitHub issues.

Contributions and feedback are encouraged and always welcome.

See the contribution guidelines for further information.

Spirit

This project and this module have been created and are maintained in the following spirit:

  • adhere to the OData specification as much as possible
    • support any OData service implementation which conforms to the spec
    • allow to work around faulty implementations if possible
  • stability matters
    • exercise Test Driven Development
    • bomb the place with unit tests (code coverage > 95%)
    • ensure that assumptions & understanding are correct by creating integration tests

Inspiration

The base idea for generating and using "Query Objects" stems from QueryDsl. Jooq also works this way.

License

MIT - see License.

Package Sidebar

Install

npm i @odata2ts/odata-query-objects

Weekly Downloads

1,122

Version

0.21.0

License

MIT

Unpacked Size

330 kB

Total Files

205

Last publish

Collaborators

  • texttechne