Skip to content

TDIP_EE-86: Fix deprecated DSL args#87

Open
moraleida wants to merge 6 commits intomainfrom
fix/TDIP_EE-86/fix-dsl-args
Open

TDIP_EE-86: Fix deprecated DSL args#87
moraleida wants to merge 6 commits intomainfrom
fix/TDIP_EE-86/fix-dsl-args

Conversation

@moraleida
Copy link
Contributor

@moraleida moraleida commented Sep 29, 2025

FIxes #86


TDIP_EE-86: Fix deprecated DSL args

Overview

This PR addresses deprecated argument usage in the DSL component of the project.

Changes

  • Updated the build_range method in lib/class-dsl.php to use modern argument keys:
    • Replaced 'from' with 'gte' (greater than or equal to)
    • Replaced 'to' with 'lte' (less than or equal to)
  • The value format (date strings in 'Y-m-d H:i:s') remains unchanged.
  • These changes align the output with current conventions and improve compatibility.

Impact

  • Ensures the codebase no longer uses deprecated keys for range queries.
  • Improves maintainability and future-proofs the DSL API.

Testing

  • Please verify that range queries still function as expected and return correct results with the updated keys.

@moraleida moraleida changed the title TDIP_EE-86: WIP fix-dsl-args TDIP_EE-86: Fix deprecated DSL args Sep 29, 2025
@moraleida moraleida marked this pull request as ready for review September 29, 2025 16:54
Copy link

@kingkool68 kingkool68 left a comment

Choose a reason for hiding this comment

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

👍

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.

Range DSL uses deprecated arguments

2 participants