filterator 0.1.2-beta.1
filterator: ^0.1.2-beta.1 copied to clipboard
API Query Builder for Dart – A powerful, flexible library for building structured API queries with filtering, sorting, pagination, and easy conversion to API-specific formats.
0.1.2-beta.1 #
- updates the package version to
0.1.2-beta.1inpubspec.yamlandREADME.md. It also removes themetapackage from the dependencies as it is no longer required.
0.1.1-beta.1 #
- Updating the dependency version in
README.mdto^0.1.0-beta.1. - Removing extra newlines and whitespace from code examples in
README.md. - Updating the package description in
pubspec.yamlfor better clarity.
0.1.0-beta.1 #
🚀 Features - Initial Release #
-
Dynamic Query Interface (
ApiQuery) Introduced a flexible, type-safe API query builder interface supporting:- Simple filters with
where()andwheres()helpers - Nested filtering using logical groups:
and()/or() - Full control over filtering conditions, ordering, paging, and selection
- Simple filters with
-
Standardized Query Filters (
ApiQueryFilter)- Supports operations like:
eq,neq,lt,gt,contains,inList, etc. - Provides both short-form and verbose syntax for maximum flexibility
- Supports operations like:
-
Pagination Support (
paginate())- Easily define
limitandoffsetfor paginated requests
- Easily define
-
Field Selection (
include()/exclude())- Explicitly include or exclude response fields for lightweight API calls
-
Sorting (
ordering())- Order results by any field with direction control (ascending or descending)
-
SupyConverter
-
Converts
ApiQueryobjects to:- Query parameters (
toQueryParameters()) - JSON body payloads (
toRequestBody()) - Nested map structures (
body())
- Query parameters (
-
Ready to integrate with Supy-style or similar RESTful backends
-
Encoder toggle to support different formats (e.g., REST, GraphQL, OData)
-
-
Extensibility
- Designed to be extensible for future formats and standards (GraphQL, OData, etc.)
- Easily plug in other converters following the same interface