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

[DO NOT MERGE] Compatibility for subgraph nft collections #4053

Merged
merged 2 commits into from
Sep 12, 2023

Conversation

peripheralist
Copy link
Contributor

@peripheralist peripheralist commented Sep 5, 2023

Subgraph is still indexing, can be merged once complete. Plz approve in the meantime

Just a change to the graphql structure for querying JB721DelegateTokens—now simply called NFTs for simplicity. No functional changes

this will fail until the CI url is updated

@vercel
Copy link

vercel bot commented Sep 5, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Ignored Deployments
Name Status Preview Updated (UTC)
juice-interface ⬜️ Ignored (Inspect) Visit Preview Sep 12, 2023 9:32pm
juice-interface-goerli ⬜️ Ignored (Inspect) Visit Preview Sep 12, 2023 9:32pm

client,
variables: {
where: {
...(dataSourceAddress ? { address: dataSourceAddress } : {}),
...(dataSourceAddress
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we now query by nft.collection.address instead of nft.address

@peripheralist peripheralist force-pushed the peri/nft-collections-ui-compatibility branch from 13e5465 to da152fd Compare September 6, 2023 16:41
@@ -1,16 +1,16 @@
import Loading from 'components/Loading'
import { Jb721DelegateTokensQuery } from 'generated/graphql'
import { NfTsQuery } from 'generated/graphql'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: capital T?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ohh awk. looks like it's just the codegen output making NFTs -> NfTs query. just gonna leave it

Copy link
Contributor

@johnnyd-eth johnnyd-eth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thicc 🥇 sorry for such a delay. LGTM

@peripheralist peripheralist merged commit 854e31d into main Sep 12, 2023
3 of 4 checks passed
@peripheralist peripheralist deleted the peri/nft-collections-ui-compatibility branch September 12, 2023 21:34
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