Skip to content

feature/dynamic-expressions#3

Merged
flusflas merged 15 commits intomainfrom
feature/dynamic-expressions
Aug 4, 2025
Merged

feature/dynamic-expressions#3
flusflas merged 15 commits intomainfrom
feature/dynamic-expressions

Conversation

@flusflas
Copy link
Owner

@flusflas flusflas commented Aug 4, 2025

This PR adds $eval() for evaluating complex expressions.

flusflas added 15 commits August 1, 2025 20:03
BREAKING CHANGE: The `reuse-previous-request` parameter for the
pagination extension has been renamed to use snake_case. Existing
specifications using this parameter will need to be updated.
Introduced the coalescing operator (??) for runtime expressions,
allowing default values when keys or indices are not found.
Improved exception handling for more precise error reporting.
BREAKING CHANGE: This ensures consistency and clarity when accessing
nested data in pagination configurations. Non-prefixed expressions are
treated as literal strings.
There was an issue when dealing with the `results_attribute`. This field
is now evaluated, allowing it to be used as a runtime expression.

The tests have been updated to include attributes prefixed with `#` and
to ensure that different `results` attribute values are handled
correctly.
@flusflas flusflas merged commit da30d4a into main Aug 4, 2025
12 checks passed
@flusflas flusflas deleted the feature/dynamic-expressions branch August 4, 2025 21:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant