Skip to content

Rename ListRecords resolver class to IndexedTypeRootFieldsResolver#1166

Merged
myronmarston merged 2 commits intoblock:mainfrom
rossroberts-toast:OLAP-582_namespaced_queries
May 5, 2026
Merged

Rename ListRecords resolver class to IndexedTypeRootFieldsResolver#1166
myronmarston merged 2 commits intoblock:mainfrom
rossroberts-toast:OLAP-582_namespaced_queries

Conversation

@rossroberts-toast
Copy link
Copy Markdown
Contributor

This is the first in a series of PR's to to implement the feature detailed in this feature request: #1130

Summary

  • Rename the ListRecords resolver class to IndexedTypeRootFieldsResolver to reflect that it resolves both list and aggregation root fields for indexed types — not just list fields.
  • Rename the corresponding .rb, .rbs, and integration spec files; update Steepfile and built_in_types.rb registration accordingly.
  • Regenerate schema artifacts (non-Apollo, Apollo, music examples) — the name: field in runtime_metadata.yaml reflects the new class name.
  • Preserve the :list_records resolver symbol to avoid a breaking artifact change for downstream users. The rename is class-only; the registered symbol is unchanged.

The resolver handles both list and aggregation root fields for indexed
types, so the new name reflects its actual responsibility. The
`:list_records` resolver symbol is preserved to avoid a breaking change
to schema artifacts.

Generated with Claude Code
Matches the recent class rename (ListRecords -> IndexedTypeRootFieldsResolver)
and aligns with the existing naming convention where the registered symbol
is the snake_case form of the class name, minus the Resolver suffix (e.g.
GetRecordFieldValue -> :get_record_field_value, NestedRelationships ->
:nested_relationships).

Runtime metadata artifacts regenerate with the new symbol; per the
versioning policy, any schema-artifact regeneration is expected on
upgrade.

Generated with Claude Code
@rossroberts-toast rossroberts-toast force-pushed the OLAP-582_namespaced_queries branch from 91e8617 to 8ad9175 Compare May 5, 2026 16:49
@myronmarston myronmarston enabled auto-merge (squash) May 5, 2026 17:03
@myronmarston myronmarston merged commit eeae4eb into block:main May 5, 2026
19 checks passed
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.

2 participants