Skip to content

fix: migrate deprecated Morpho API fields#1237

Open
prd-carapulse[bot] wants to merge 1 commit into
mainfrom
hermes/migrate-deprecated-api-fields-20260518
Open

fix: migrate deprecated Morpho API fields#1237
prd-carapulse[bot] wants to merge 1 commit into
mainfrom
hermes/migrate-deprecated-api-fields-20260518

Conversation

@prd-carapulse
Copy link
Copy Markdown
Contributor

@prd-carapulse prd-carapulse Bot commented May 19, 2026

Summary

  • Migrates GraphQL queries off deprecated Morpho API fields/filters scheduled for removal on 2026-05-20.
  • Uses stable aliases where possible (for example uniqueKey: marketId, whitelisted: listed) so existing runtime response shapes stay unchanged.
  • Updates direct follow-up code only where the replacement field moved (VaultMetadata.curators -> Vault.state.curators, MarketPosition.supplyAssets -> MarketPosition.state.supplyAssets).

Verification

  • Ran schema-aware scan against target GraphQL documents: no listed deprecated output fields or whitelisted/promoted filters remain in this repo.
  • schema-aware scan only (test-only migration)

Request Context

  • Initiator: Milan / GitHub: unresolved
  • Initial Slack thread: C0B3BFBE6AK / thread_ts 1779090576.528369
  • Additional context: morpho-org/morpho-apps#2523 already covers the internal consumer app and is intentionally excluded from this PR batch.
  • Rationale: Deprecated Morpho API GraphQL fields are marked for removal on 2026-05-20; migrate repo queries before removal.

Migrates deprecated Morpho API GraphQL fields/filters before the 2026-05-20 removal.

Requested in Slack thread C0B3BFBE6AK / 1779090576.528369.
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.

0 participants