You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove unused field validation scaffolding and TODO comments
The valid_search_fields parameter was passed through Endpoint#build_query
and QueryBuilder#initialize but never used — validation was commented out
and only triggered a noisy warn statement. Removing it entirely:
- Drop valid_search_fields param from QueryBuilder#initialize and Endpoint#build_query
- Remove private dead methods: validate_arguments!, get_invalid_fields, count_and_skip_set?
- Remove warn statement and commented-out validation call
- Remove all "# TODO: Upload valid fields" comments from endpoint files
- Delete adverse_events_fields.yml (no longer referenced)
- Remove YAML require and valid_adverse_events_fields class method from Drugs
- Update query_builder_spec to remove valid_search_fields references
Coverage is now at 99.79%.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
0 commit comments