Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

APIv4 - Delete unused OptionList trait #22158

Merged
merged 1 commit into from
Nov 29, 2021

Conversation

colemanw
Copy link
Member

Overview

Deletes some unused code from APIv4

Technical Details

This trait had been added for the sake of SearchKit to determine which entities should be searchable and which were merely supplying option lists for other entities.

However, this logic broke down quickly as some option lists should be searchable, so that path was abandoned in favor of the @searchable annotation.

The trait now does nothing and is just taking up space and adding unnecessary complexity.

This trait had been added for the sake of SearchKit to determine which entities should be
searchable and which were merely supplying option lists for other entities.

However, this logic broke down quickly as some option lists *should* be searchable,
so that path was abandoned in favor of the `@searchable` annotation.

The trait now does nothing and is just taking up space and adding unnecessary complexity.
@civibot
Copy link

civibot bot commented Nov 29, 2021

(Standard links)

@civibot civibot bot added the master label Nov 29, 2021
@eileenmcnaughton eileenmcnaughton merged commit 70f77f4 into civicrm:master Nov 29, 2021
@eileenmcnaughton eileenmcnaughton deleted the api4DeleteOptionList branch November 29, 2021 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants