Skip to content

Conversation

@cap10morgan
Copy link
Member

@cap10morgan cap10morgan commented Aug 13, 2025

search_attribute, search_type, and search_value have been deprecated in favor of attribute, comparator, and value (which have the added bonus of being consistent with the resource API)

@cap10morgan cap10morgan requested a review from a team August 13, 2025 17:47
Comment on lines 269 to 271
- `search_attribute` _(required)_ - the attribute you wish to search, can be any attribute
- `search_type` _(required)_ - the type of search to perform - `equals`, `contains`, `starts_with`, `ends_with`, `greater_than`, `greater_than_equal`, `less_than`, `less_than_equal`, `between`
- `search_value` _(required)_ - case-sensitive value you wish to search. If the `search_type` is `between` then use an array of two values to search between
- `comparator` _(required)_ - the type of search to perform - `equals`, `contains`, `starts_with`, `ends_with`, `greater_than`, `greater_than_equal`, `less_than`, `less_than_equal`, `between`
- `search_value` _(required)_ - case-sensitive value you wish to search. If the `comparator` is `between` then use an array of two values to search between
Copy link
Member

Choose a reason for hiding this comment

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

Should these be updated too?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, thanks!

Copy link
Member

Choose a reason for hiding this comment

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

Are these fields no longer supported or will they still work on 4.6? Same question for 4.7 and beyond? I assume we are remaining backwards compatible. It may be valuable to include a note somewhere what these fields were previously called in case someone goes searching for them referencing existing code.

search_attribute, search_type, and search_value have been deprecated in favor of attribute, comparator, and value
@cap10morgan cap10morgan force-pushed the update/search-condition-properties branch from 53b5bae to 2055ca6 Compare August 13, 2025 20:03
@cap10morgan
Copy link
Member Author

@Ethan-Arrowood All should be addressed

@cap10morgan cap10morgan merged commit 78eb63c into main Aug 13, 2025
2 checks passed
@cap10morgan cap10morgan deleted the update/search-condition-properties branch August 13, 2025 20:25
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.

4 participants