Skip to content

Conversation

@tractorss
Copy link
Contributor

Migrates subgraph to file datasource from ipfs.cat

⚠️ Will break the services/queries relying on the this subgraph for getting evidence or item's data.

===

Need to update the gql queries for entities

  1. LItem
  2. Evidence

===

The ipfs data (now metadata ) can be accessed from the field metadata in the affected entities.

Example of updating gql query for getting evidence or item's metadata after this change :

 { evidences{ metadata{ title description } } litems{ metadata{ props{ label } key0 keywords } } } 

Test subgraph deployed at :- https://thegraph.com/studio/subgraph/gtcr-test-subgraph/logs

===

Next steps :-

  1. Migrate from hosted service to studio. (The test subgraph is deployed on studio, but the changes have not been made in this PR to migrate to studio)
  2. Update services/ frontends relying on this subgraph
@sonarqubecloud
Copy link

sonarqubecloud bot commented May 2, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
29.1% Duplication on New Code (required ≤ 3%)

See analysis details on SonarCloud

@tractorss tractorss linked an issue May 2, 2024 that may be closed by this pull request
@jaybuidl jaybuidl requested review from alcercu and kemuru May 30, 2024 20:38
@jaybuidl jaybuidl merged commit 93c8141 into master Jun 5, 2024
@jaybuidl jaybuidl deleted the chore/migrate-to-file-data-source branch June 5, 2024 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants