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

Add 'Handling of entities with identical IDs' section #597

Merged
merged 3 commits into from
Feb 14, 2024

Conversation

marcusrein
Copy link
Member

No description provided.

Copy link

github-actions bot commented Feb 3, 2024

📦 Next.js Bundle Analysis for @graphprotocol/docs

This analysis was generated by the Next.js Bundle Analysis action. 🤖

Three Hundred Seven Pages Changed Size

The following pages changed size from the code in this PR compared to its base branch:

Page Size (compressed) First Load % of Budget (350 KB)
/ar/about 8.12 KB 676.98 KB 193.42% (+/- <0.01%)
/ar/billing 9.72 KB 678.58 KB 193.88% (+/- <0.01%)
/ar/cookbook/grafting 8.92 KB 677.78 KB 193.65% (+/- <0.01%)
/ar/deploying/hosted-service 6.96 KB 675.82 KB 193.09% (+/- <0.01%)
/ar/developing/developer-faqs 10.18 KB 679.04 KB 194.01% (+/- <0.01%)
/ar/developing/graph-ts/api 18.08 KB 686.94 KB 196.27% (+/- <0.01%)
/ar/developing/supported-networks 49.89 KB 718.75 KB 205.36% (+/- <0.01%)
/ar/graphcast 5.76 KB 674.62 KB 192.75% (+/- <0.01%)
/ar/network/delegating 9.64 KB 678.5 KB 193.86% (+/- <0.01%)
/ar/querying/graphql-api 10.89 KB 679.75 KB 194.21% (+/- <0.01%)
/ar/quick-start 8.71 KB 677.58 KB 193.59% (+/- <0.01%)
/ar/release-notes/graphql-validations-migration-guide 9.65 KB 678.51 KB 193.86% (+/- <0.01%)
/ar/tokenomics 10.84 KB 679.7 KB 194.20% (+/- <0.01%)
/cs/cookbook/grafting 8.77 KB 677.63 KB 193.61% (+/- <0.01%)
/cs/cookbook/near 10.04 KB 678.9 KB 193.97% (+/- <0.01%)
/cs/cookbook/subgraph-debug-forking 7.5 KB 676.36 KB 193.25% (+/- <0.01%)
/cs/developing/substreams-powered-subgraphs-faq 7.69 KB 676.55 KB 193.30% (+/- <0.01%)
/cs/developing/unit-testing-framework 17.35 KB 686.21 KB 196.06% (+/- <0.01%)
/cs/graphcast 5.75 KB 674.61 KB 192.75% (+/- <0.01%)
/cs/mips-faqs 8.89 KB 677.75 KB 193.64% (+/- <0.01%)
/cs/network/developing 6.92 KB 675.78 KB 193.08% (+/- <0.01%)
/cs/querying/distributed-systems 7.33 KB 676.2 KB 193.20% (+/- <0.01%)
/cs/querying/querying-the-graph 5.95 KB 674.81 KB 192.80% (+/- <0.01%)
/cs/release-notes/assemblyscript-migration-guide 10.86 KB 679.72 KB 194.21% (+/- <0.01%)
/cs/sunrise 8.85 KB 677.71 KB 193.63% (+/- <0.01%)
/cs/tokenomics 9.66 KB 678.52 KB 193.86% (+/- <0.01%)
/de/chain-integration-overview 7.13 KB 675.99 KB 193.14% (+/- <0.01%)
/de/cookbook/subgraph-debug-forking 7.5 KB 676.36 KB 193.25% (+/- <0.01%)
/de/cookbook/subgraph-uncrashable 5.93 KB 674.79 KB 192.80% (+/- <0.01%)
/de/cookbook/substreams-powered-subgraphs 71.42 KB 740.29 KB 211.51% (+/- <0.01%)
/de/cookbook/upgrading-a-subgraph 12.18 KB 681.04 KB 194.58% (+/- <0.01%)
/de/developing/creating-a-subgraph 26.54 KB 695.41 KB 198.69% (+/- <0.01%)
/de/developing/substreams-powered-subgraphs-faq 7.69 KB 676.55 KB 193.30% (+/- <0.01%)
/de/glossary 8.06 KB 676.92 KB 193.41% (+/- <0.01%)
/de/graphcast 5.75 KB 674.61 KB 192.75% (+/- <0.01%)
/de/network-transition-faq 13.79 KB 682.65 KB 195.04% (+/- <0.01%)
/de/network/developing 6.92 KB 675.78 KB 193.08% (+/- <0.01%)
/de/publishing/publishing-a-subgraph 6.24 KB 675.1 KB 192.89% (+/- <0.01%)
/de/querying/graphql-api 10.53 KB 679.39 KB 194.11% (+/- <0.01%)
/de/release-notes/assemblyscript-migration-guide 10.86 KB 679.72 KB 194.21% (+/- <0.01%)
/de/release-notes/graphql-validations-migration-guide 9.67 KB 678.53 KB 193.87% (+/- <0.01%)
/en/cookbook/grafting 8.77 KB 677.63 KB 193.61% (+/- <0.01%)
/en/cookbook/substreams-powered-subgraphs 71.42 KB 740.29 KB 211.51% (+/- <0.01%)
/en/deploying/subgraph-studio-faqs 5.83 KB 674.69 KB 192.77% (+/- <0.01%)
/en/developing/creating-a-subgraph 27.34 KB 696.2 KB 198.91% (🟡 +0.06%)
/en/developing/substreams-powered-subgraphs-faq 7.69 KB 676.55 KB 193.30% (+/- <0.01%)
/en/firehose 5.76 KB 674.62 KB 192.75% (+/- <0.01%)
/en/graphcast 5.75 KB 674.61 KB 192.75% (+/- <0.01%)
/en/new-chain-integration 7.29 KB 676.15 KB 193.19% (+/- <0.01%)
/en/querying/querying-best-practices 10.27 KB 679.13 KB 194.04% (+/- <0.01%)
/en/querying/querying-the-graph 5.95 KB 674.81 KB 192.80% (+/- <0.01%)
/es/cookbook/arweave 9.35 KB 678.22 KB 193.78% (+/- <0.01%)
/es/cookbook/near 10.58 KB 679.44 KB 194.13% (+/- <0.01%)
/es/cookbook/subgraph-debug-forking 7.76 KB 676.62 KB 193.32% (+/- <0.01%)
/es/cookbook/subgraph-uncrashable 6.13 KB 674.99 KB 192.85% (+/- <0.01%)
/es/cookbook/substreams-powered-subgraphs 71.42 KB 740.29 KB 211.51% (+/- <0.01%)
/es/firehose 5.75 KB 674.62 KB 192.75% (+/- <0.01%)
/es/querying/distributed-systems 7.6 KB 676.47 KB 193.28% (+/- <0.01%)
/es/querying/managing-api-keys 5.98 KB 674.84 KB 192.81% (+/- <0.01%)
/es/querying/querying-best-practices 10.75 KB 679.61 KB 194.17% (+/- <0.01%)
/es/querying/querying-with-no-code 6.95 KB 675.81 KB 193.09% (+/- <0.01%)
/es/quick-start 8.85 KB 677.71 KB 193.63% (+/- <0.01%)
/es/release-notes/assemblyscript-migration-guide 11.44 KB 680.3 KB 194.37% (+/- <0.01%)
/es/sunrise 8.85 KB 677.71 KB 193.63% (+/- <0.01%)
/fr/about 7.99 KB 676.85 KB 193.39% (+/- <0.01%)
/fr/cookbook/base-testnet 6.83 KB 675.69 KB 193.06% (+/- <0.01%)
/fr/developing/creating-a-subgraph 30.48 KB 699.34 KB 199.81% (+/- <0.01%)
/fr/developing/graph-ts/api 18.62 KB 687.48 KB 196.42% (+/- <0.01%)
/fr/developing/substreams-powered-subgraphs-faq 8.45 KB 677.31 KB 193.52% (+/- <0.01%)
/fr/network/overview 5.71 KB 674.57 KB 192.74% (🟢 -0.01%)
/fr/new-chain-integration 7.38 KB 676.24 KB 193.21% (+/- <0.01%)
/fr/publishing/publishing-a-subgraph 6.37 KB 675.23 KB 192.92% (+/- <0.01%)
/fr/querying/distributed-systems 7.61 KB 676.47 KB 193.28% (+/- <0.01%)
/fr/querying/managing-api-keys 5.94 KB 674.8 KB 192.80% (+/- <0.01%)
/fr/querying/querying-best-practices 10.44 KB 679.3 KB 194.09% (+/- <0.01%)
/fr/querying/querying-the-graph 5.95 KB 674.81 KB 192.80% (+/- <0.01%)
/fr/querying/querying-the-hosted-service 5.84 KB 674.7 KB 192.77% (+/- <0.01%)
/ha/arbitrum/l2-transfer-tools-faq 18.3 KB 687.16 KB 196.33% (+/- <0.01%)
/ha/cookbook/base-testnet 6.62 KB 675.48 KB 192.99% (+/- <0.01%)
/ha/cookbook/upgrading-a-subgraph 12.18 KB 681.04 KB 194.58% (+/- <0.01%)
/ha/deploying/deploying-a-subgraph-to-hosted 9.68 KB 678.54 KB 193.87% (+/- <0.01%)
/ha/developing/creating-a-subgraph 26.54 KB 695.4 KB 198.68% (+/- <0.01%)
/ha/developing/supported-networks 49.85 KB 718.71 KB 205.35% (+/- <0.01%)
/ha/graphcast 5.74 KB 674.61 KB 192.74% (+/- <0.01%)
/ha/mips-faqs 8.89 KB 677.75 KB 193.64% (+/- <0.01%)
/ha/network/overview 5.59 KB 674.45 KB 192.70% (+/- <0.01%)
/ha/querying/distributed-systems 7.34 KB 676.2 KB 193.20% (+/- <0.01%)
/ha/querying/managing-api-keys 5.87 KB 674.73 KB 192.78% (+/- <0.01%)
/ha/querying/querying-the-graph 5.95 KB 674.81 KB 192.80% (+/- <0.01%)
/ha/querying/querying-the-hosted-service 5.74 KB 674.6 KB 192.74% (+/- <0.01%)
/ha/quick-start 8.49 KB 677.35 KB 193.53% (+/- <0.01%)
/hi/about 8.47 KB 677.33 KB 193.52% (+/- <0.01%)
/hi/cookbook/near 11.71 KB 680.57 KB 194.45% (+/- <0.01%)
/hi/cookbook/subgraph-debug-forking 8.49 KB 677.35 KB 193.53% (+/- <0.01%)
/hi/deploying/hosted-service 7.32 KB 676.18 KB 193.19% (+/- <0.01%)
/hi/developing/supported-networks 50.05 KB 718.92 KB 205.40% (+/- <0.01%)
/hi/firehose 5.79 KB 674.65 KB 192.76% (+/- <0.01%)
/hi/glossary 9.4 KB 678.26 KB 193.79% (+/- <0.01%)
/hi/graphcast 6.26 KB 675.12 KB 192.89% (+/- <0.01%)
/hi/managing/deprecating-a-subgraph 5.63 KB 674.49 KB 192.71% (+/- <0.01%)
/hi/new-chain-integration 7.29 KB 676.15 KB 193.19% (+/- <0.01%)
/hi/querying/querying-the-graph 6.5 KB 675.37 KB 192.96% (+/- <0.01%)
/hi/querying/querying-with-python 6.08 KB 674.94 KB 192.84% (+/- <0.01%)
/hi/release-notes/assemblyscript-migration-guide 12.6 KB 681.46 KB 194.70% (+/- <0.01%)
/it/about 7.53 KB 676.39 KB 193.25% (🟡 +0.01%)
/it/cookbook/quick-start 8.48 KB 677.34 KB 193.53% (🟢 -0.01%)
/it/cookbook/subgraph-debug-forking 7.5 KB 676.36 KB 193.25% (+/- <0.01%)
/it/deploying/subgraph-studio-faqs 5.83 KB 674.69 KB 192.77% (+/- <0.01%)
/it/developing/creating-a-subgraph 26.54 KB 695.41 KB 198.69% (+/- <0.01%)
/it/developing/developer-faqs 9.61 KB 678.48 KB 193.85% (+/- <0.01%)
/it/developing/substreams-powered-subgraphs-faq 7.69 KB 676.55 KB 193.30% (+/- <0.01%)
/it/graphcast 5.75 KB 674.61 KB 192.75% (🟢 -0.01%)
/it/mips-faqs 8.89 KB 677.75 KB 193.64% (+/- <0.01%)
/it/network/delegating 9.62 KB 678.48 KB 193.85% (+/- <0.01%)
/it/querying/querying-by-subgraph-id-vs-deployment-id 6.14 KB 675 KB 192.86% (+/- <0.01%)
/it/querying/querying-from-an-application 7.71 KB 676.57 KB 193.31% (+/- <0.01%)
/it/sunrise 8.85 KB 677.71 KB 193.63% (+/- <0.01%)
/ja/cookbook/arweave 9.93 KB 678.79 KB 193.94% (+/- <0.01%)
/ja/cookbook/subgraph-uncrashable 6.32 KB 675.18 KB 192.91% (+/- <0.01%)
/ja/deploying/deploying-a-subgraph-to-hosted 10.52 KB 679.38 KB 194.11% (+/- <0.01%)
/ja/network-transition-faq 15.52 KB 684.38 KB 195.54% (+/- <0.01%)
/ja/network/overview 5.89 KB 674.75 KB 192.79% (+/- <0.01%)
/ja/publishing/publishing-a-subgraph 6.52 KB 675.38 KB 192.97% (+/- <0.01%)
/ja/querying/distributed-systems 8.04 KB 676.91 KB 193.40% (+/- <0.01%)
/ja/querying/graphql-api 11.45 KB 680.31 KB 194.37% (+/- <0.01%)
/ja/querying/managing-api-keys 6.25 KB 675.11 KB 192.89% (+/- <0.01%)
/ja/querying/querying-the-graph 6.3 KB 675.16 KB 192.90% (+/- <0.01%)
/ja/tokenomics 10.73 KB 679.59 KB 194.17% (+/- <0.01%)
/ko/about 7.53 KB 676.39 KB 193.25% (+/- <0.01%)
/ko/cookbook/base-testnet 6.61 KB 675.48 KB 192.99% (+/- <0.01%)
/ko/cookbook/cosmos 9 KB 677.86 KB 193.67% (+/- <0.01%)
/ko/cookbook/grafting 8.77 KB 677.63 KB 193.61% (+/- <0.01%)
/ko/cookbook/subgraph-debug-forking 7.5 KB 676.36 KB 193.25% (+/- <0.01%)
/ko/cookbook/substreams-powered-subgraphs 71.42 KB 740.28 KB 211.51% (+/- <0.01%)
/ko/cookbook/upgrading-a-subgraph 12.18 KB 681.04 KB 194.58% (+/- <0.01%)
/ko/developing/graph-ts/api 17.46 KB 686.32 KB 196.09% (+/- <0.01%)
/ko/developing/substreams-powered-subgraphs-faq 7.69 KB 676.55 KB 193.30% (+/- <0.01%)
/ko/developing/supported-networks 49.9 KB 718.76 KB 205.36% (+/- <0.01%)
/ko/graphcast 5.75 KB 674.61 KB 192.75% (+/- <0.01%)
/ko/mips-faqs 8.89 KB 677.75 KB 193.64% (+/- <0.01%)
/ko/network/developing 6.92 KB 675.78 KB 193.08% (+/- <0.01%)
/ko/new-chain-integration 7.29 KB 676.15 KB 193.19% (+/- <0.01%)
/ko/publishing/publishing-a-subgraph 6.24 KB 675.1 KB 192.89% (+/- <0.01%)
/ko/querying/managing-api-keys 5.87 KB 674.74 KB 192.78% (+/- <0.01%)
/ko/querying/querying-with-python 6.04 KB 674.9 KB 192.83% (+/- <0.01%)
/ko/release-notes/assemblyscript-migration-guide 10.86 KB 679.72 KB 194.21% (+/- <0.01%)
/ko/sunrise 8.85 KB 677.71 KB 193.63% (+/- <0.01%)
/mr/cookbook/arweave 10.2 KB 679.06 KB 194.02% (+/- <0.01%)
/mr/cookbook/subgraph-debug-forking 8.43 KB 677.29 KB 193.51% (+/- <0.01%)
/mr/cookbook/substreams-powered-subgraphs 71.42 KB 740.29 KB 211.51% (+/- <0.01%)
/mr/developing/creating-a-subgraph 32.73 KB 701.59 KB 200.45% (+/- <0.01%)
/mr/developing/graph-ts/common-issues 5.32 KB 674.18 KB 192.62% (+/- <0.01%)
/mr/developing/substreams-powered-subgraphs-faq 7.69 KB 676.55 KB 193.30% (+/- <0.01%)
/mr/querying/querying-the-graph 6.42 KB 675.28 KB 192.94% (+/- <0.01%)
/mr/querying/querying-with-python 6.09 KB 674.95 KB 192.84% (+/- <0.01%)
/mr/release-notes/graphql-validations-migration-guide 10.33 KB 679.19 KB 194.05% (+/- <0.01%)
/mr/sunrise 8.85 KB 677.71 KB 193.63% (+/- <0.01%)
/nl/deploying/deploying-a-subgraph-to-hosted 9.68 KB 678.54 KB 193.87% (+/- <0.01%)
/nl/developing/graph-ts/api 17.45 KB 686.32 KB 196.09% (+/- <0.01%)
/nl/developing/substreams-powered-subgraphs-faq 7.69 KB 676.55 KB 193.30% (+/- <0.01%)
/nl/network-transition-faq 13.78 KB 682.65 KB 195.04% (+/- <0.01%)
/nl/querying/querying-by-subgraph-id-vs-deployment-id 6.14 KB 675 KB 192.86% (+/- <0.01%)
/pl/arbitrum/l2-transfer-tools-faq 19.21 KB 688.07 KB 196.59% (+/- <0.01%)
/pl/cookbook/base-testnet 6.62 KB 675.48 KB 192.99% (+/- <0.01%)
/pl/cookbook/near 10.04 KB 678.9 KB 193.97% (+/- <0.01%)
/pl/cookbook/quick-start 8.48 KB 677.34 KB 193.53% (+/- <0.01%)
/pl/cookbook/upgrading-a-subgraph 12.18 KB 681.04 KB 194.58% (+/- <0.01%)
/pl/deploying/hosted-service 6.71 KB 675.57 KB 193.02% (+/- <0.01%)
/pl/deploying/subgraph-studio 8.37 KB 677.23 KB 193.49% (🟡 +0.01%)
/pl/deploying/subgraph-studio-faqs 5.83 KB 674.69 KB 192.77% (+/- <0.01%)
/pl/developing/substreams-powered-subgraphs-faq 7.69 KB 676.55 KB 193.30% (+/- <0.01%)
/pl/developing/supported-networks 49.85 KB 718.71 KB 205.35% (+/- <0.01%)
/pl/network/benefits 7.08 KB 675.95 KB 193.13% (+/- <0.01%)
/pl/network/developing 6.92 KB 675.78 KB 193.08% (+/- <0.01%)
/pl/new-chain-integration 7.29 KB 676.15 KB 193.19% (+/- <0.01%)
/pl/querying/querying-from-an-application 7.71 KB 676.57 KB 193.31% (+/- <0.01%)
/pl/querying/querying-the-graph 5.95 KB 674.81 KB 192.80% (+/- <0.01%)
/pl/quick-start 8.49 KB 677.35 KB 193.53% (+/- <0.01%)
/pl/substreams 6.35 KB 675.21 KB 192.92% (+/- <0.01%)
/pl/sunrise 8.85 KB 677.71 KB 193.63% (+/- <0.01%)
/pt/arbitrum/l2-transfer-tools-faq 17.57 KB 686.43 KB 196.12% (+/- <0.01%)
/pt/cookbook/substreams-powered-subgraphs 71.71 KB 740.58 KB 211.59% (+/- <0.01%)
/pt/deploying/hosted-service 6.87 KB 675.73 KB 193.07% (+/- <0.01%)
/pt/developing/creating-a-subgraph 27.99 KB 696.85 KB 199.10% (+/- <0.01%)
/pt/developing/developer-faqs 9.85 KB 678.72 KB 193.92% (+/- <0.01%)
/pt/developing/substreams-powered-subgraphs-faq 8 KB 676.86 KB 193.39% (+/- <0.01%)
/pt/developing/supported-networks 49.92 KB 718.78 KB 205.36% (+/- <0.01%)
/pt/developing/unit-testing-framework 17.89 KB 686.75 KB 196.22% (🟢 -0.01%)
/pt/firehose 5.83 KB 674.69 KB 192.77% (+/- <0.01%)
/pt/glossary 8.4 KB 677.26 KB 193.50% (+/- <0.01%)
/pt/network-transition-faq 14.59 KB 683.45 KB 195.27% (+/- <0.01%)
/pt/network/curating 10.59 KB 679.46 KB 194.13% (+/- <0.01%)
/pt/network/developing 7.17 KB 676.03 KB 193.15% (+/- <0.01%)
/pt/network/explorer 13.65 KB 682.51 KB 195.00% (+/- <0.01%)
/pt/new-chain-integration 7.52 KB 676.38 KB 193.25% (+/- <0.01%)
/pt/operating-graph-node 15.39 KB 684.25 KB 195.50% (+/- <0.01%)
/pt/querying/managing-api-keys 6.05 KB 674.91 KB 192.83% (+/- <0.01%)
/pt/quick-start 8.78 KB 677.64 KB 193.61% (+/- <0.01%)
/ro/cookbook/subgraph-debug-forking 7.5 KB 676.36 KB 193.25% (+/- <0.01%)
/ro/cookbook/upgrading-a-subgraph 12.18 KB 681.04 KB 194.58% (+/- <0.01%)
/ro/developing/graph-ts/common-issues 5.24 KB 674.1 KB 192.60% (+/- <0.01%)
/ro/developing/substreams-powered-subgraphs-faq 7.69 KB 676.55 KB 193.30% (+/- <0.01%)
/ro/developing/supported-networks 49.86 KB 718.72 KB 205.35% (+/- <0.01%)
/ro/firehose 5.76 KB 674.62 KB 192.75% (+/- <0.01%)
/ro/graphcast 5.75 KB 674.61 KB 192.75% (+/- <0.01%)
/ro/mips-faqs 8.89 KB 677.75 KB 193.64% (+/- <0.01%)
/ro/network-transition-faq 13.78 KB 682.64 KB 195.04% (+/- <0.01%)
/ro/network/explorer 13.43 KB 682.29 KB 194.94% (+/- <0.01%)
/ro/querying/graphql-api 10.5 KB 679.36 KB 194.10% (+/- <0.01%)
/ro/querying/querying-by-subgraph-id-vs-deployment-id 6.14 KB 675 KB 192.86% (+/- <0.01%)
/ro/querying/querying-with-no-code 6.95 KB 675.81 KB 193.09% (+/- <0.01%)
/ro/quick-start 8.49 KB 677.35 KB 193.53% (+/- <0.01%)
/ro/release-notes/assemblyscript-migration-guide 10.86 KB 679.72 KB 194.21% (+/- <0.01%)
/ro/substreams 6.35 KB 675.21 KB 192.92% (+/- <0.01%)
/ro/sunrise 8.85 KB 677.71 KB 193.63% (+/- <0.01%)
/ro/tokenomics 9.66 KB 678.52 KB 193.86% (+/- <0.01%)
/ru/cookbook/arweave 10.28 KB 679.14 KB 194.04% (+/- <0.01%)
/ru/cookbook/subgraph-debug-forking 8.5 KB 677.36 KB 193.53% (+/- <0.01%)
/ru/deploying/subgraph-studio-faqs 6.35 KB 675.21 KB 192.92% (+/- <0.01%)
/ru/developing/supported-networks 50.18 KB 719.04 KB 205.44% (+/- <0.01%)
/ru/developing/unit-testing-framework 20.56 KB 689.42 KB 196.98% (+/- <0.01%)
/ru/firehose 5.8 KB 674.66 KB 192.76% (+/- <0.01%)
/ru/glossary 8.06 KB 676.92 KB 193.41% (+/- <0.01%)
/ru/graphcast 5.81 KB 674.67 KB 192.76% (+/- <0.01%)
/ru/managing/deprecating-a-subgraph 5.66 KB 674.52 KB 192.72% (+/- <0.01%)
/ru/network/developing 7.29 KB 676.15 KB 193.19% (+/- <0.01%)
/ru/network/overview 5.93 KB 674.79 KB 192.80% (+/- <0.01%)
/ru/new-chain-integration 7.4 KB 676.27 KB 193.22% (+/- <0.01%)
/ru/querying/querying-by-subgraph-id-vs-deployment-id 6.14 KB 675 KB 192.86% (+/- <0.01%)
/ru/tokenomics 11.4 KB 680.26 KB 194.36% (+/- <0.01%)
/sv/cookbook/arweave 9.27 KB 678.13 KB 193.75% (+/- <0.01%)
/sv/cookbook/subgraph-uncrashable 6.06 KB 674.93 KB 192.84% (+/- <0.01%)
/sv/deploying/subgraph-studio-faqs 5.89 KB 674.76 KB 192.79% (+/- <0.01%)
/sv/querying/querying-by-subgraph-id-vs-deployment-id 6.14 KB 675 KB 192.86% (+/- <0.01%)
/sv/querying/querying-the-graph 6.02 KB 674.88 KB 192.82% (+/- <0.01%)
/sv/quick-start 8.72 KB 677.58 KB 193.59% (+/- <0.01%)
/sv/release-notes/assemblyscript-migration-guide 11.31 KB 680.17 KB 194.33% (+/- <0.01%)
/tr/arbitrum/l2-transfer-tools-faq 18.09 KB 686.95 KB 196.27% (+/- <0.01%)
/tr/deploying/hosted-service 6.99 KB 675.85 KB 193.10% (+/- <0.01%)
/tr/developing/substreams-powered-subgraphs-faq 8.07 KB 676.93 KB 193.41% (+/- <0.01%)
/tr/glossary 8.64 KB 677.5 KB 193.57% (+/- <0.01%)
/tr/network/overview 5.68 KB 674.54 KB 192.73% (+/- <0.01%)
/tr/querying/distributed-systems 7.67 KB 676.53 KB 193.29% (+/- <0.01%)
/tr/querying/managing-api-keys 6.02 KB 674.88 KB 192.82% (+/- <0.01%)
/tr/release-notes/graphql-validations-migration-guide 10.16 KB 679.02 KB 194.01% (+/- <0.01%)
/uk/billing 10.41 KB 679.28 KB 194.08% (+/- <0.01%)
/uk/cookbook/subgraph-debug-forking 7.5 KB 676.36 KB 193.25% (+/- <0.01%)
/uk/cookbook/substreams-powered-subgraphs 71.42 KB 740.29 KB 211.51% (+/- <0.01%)
/uk/deploying/deploying-a-subgraph-to-hosted 9.68 KB 678.54 KB 193.87% (+/- <0.01%)
/uk/deploying/hosted-service 6.75 KB 675.61 KB 193.03% (+/- <0.01%)
/uk/developing/substreams-powered-subgraphs-faq 7.69 KB 676.55 KB 193.30% (+/- <0.01%)
/uk/glossary 9.4 KB 678.26 KB 193.79% (+/- <0.01%)
/uk/managing/deprecating-a-subgraph 5.32 KB 674.18 KB 192.62% (+/- <0.01%)
/uk/publishing/publishing-a-subgraph 6.24 KB 675.1 KB 192.89% (+/- <0.01%)
/uk/querying/distributed-systems 8.35 KB 677.21 KB 193.49% (+/- <0.01%)
/uk/querying/graphql-api 10.5 KB 679.36 KB 194.10% (+/- <0.01%)
/uk/querying/querying-from-an-application 8.54 KB 677.4 KB 193.54% (+/- <0.01%)
/uk/querying/querying-the-graph 5.95 KB 674.81 KB 192.80% (+/- <0.01%)
/uk/release-notes/graphql-validations-migration-guide 9.65 KB 678.51 KB 193.86% (+/- <0.01%)
/ur/cookbook/arweave 10.24 KB 679.1 KB 194.03% (+/- <0.01%)
/ur/cookbook/grafting 9.69 KB 678.55 KB 193.87% (+/- <0.01%)
/ur/cookbook/near 11.5 KB 680.36 KB 194.39% (+/- <0.01%)
/ur/deploying/subgraph-studio 9.31 KB 678.17 KB 193.76% (+/- <0.01%)
/ur/developing/creating-a-subgraph 31.34 KB 700.2 KB 200.06% (+/- <0.01%)
/ur/developing/developer-faqs 11.19 KB 680.05 KB 194.30% (+/- <0.01%)
/ur/developing/substreams-powered-subgraphs-faq 8.75 KB 677.61 KB 193.60% (+/- <0.01%)
/ur/firehose 5.81 KB 674.67 KB 192.76% (+/- <0.01%)
/ur/glossary 9.09 KB 677.95 KB 193.70% (+/- <0.01%)
/ur/network/benefits 7.82 KB 676.68 KB 193.34% (+/- <0.01%)
/ur/operating-graph-node 16.84 KB 685.7 KB 195.91% (+/- <0.01%)
/ur/publishing/publishing-a-subgraph 6.68 KB 675.54 KB 193.01% (+/- <0.01%)
/ur/querying/querying-the-graph 6.34 KB 675.2 KB 192.92% (+/- <0.01%)
/ur/release-notes/graphql-validations-migration-guide 10.95 KB 679.81 KB 194.23% (+/- <0.01%)
/ur/tokenomics 10.8 KB 679.66 KB 194.19% (+/- <0.01%)
/vi/arbitrum/l2-transfer-tools-faq 16.71 KB 685.57 KB 195.88% (+/- <0.01%)
/vi/cookbook/base-testnet 6.81 KB 675.67 KB 193.05% (+/- <0.01%)
/vi/network/developing 6.92 KB 675.78 KB 193.08% (+/- <0.01%)
/vi/new-chain-integration 7.29 KB 676.15 KB 193.19% (+/- <0.01%)
/vi/querying/distributed-systems 7.95 KB 676.81 KB 193.38% (+/- <0.01%)
/vi/querying/graphql-api 10.88 KB 679.75 KB 194.21% (+/- <0.01%)
/vi/querying/managing-api-keys 5.87 KB 674.74 KB 192.78% (+/- <0.01%)
/vi/querying/querying-the-graph 6.2 KB 675.06 KB 192.87% (+/- <0.01%)
/vi/querying/querying-with-no-code 6.95 KB 675.81 KB 193.09% (+/- <0.01%)
/vi/sunrise 8.85 KB 677.71 KB 193.63% (+/- <0.01%)
/vi/tokenomics 9.66 KB 678.52 KB 193.86% (+/- <0.01%)
/yo/arbitrum/l2-transfer-tools-faq 17.89 KB 686.75 KB 196.21% (+/- <0.01%)
/yo/cookbook/subgraph-debug-forking 7.5 KB 676.36 KB 193.25% (+/- <0.01%)
/yo/deploying/subgraph-studio-faqs 5.83 KB 674.69 KB 192.77% (+/- <0.01%)
/yo/managing/deprecating-a-subgraph 5.32 KB 674.18 KB 192.62% (+/- <0.01%)
/yo/network-transition-faq 13.78 KB 682.64 KB 195.04% (+/- <0.01%)
/yo/network/developing 6.92 KB 675.78 KB 193.08% (+/- <0.01%)
/yo/querying/graphql-api 10.5 KB 679.36 KB 194.10% (+/- <0.01%)
/yo/querying/querying-the-graph 5.95 KB 674.81 KB 192.80% (+/- <0.01%)
/yo/querying/querying-the-hosted-service 5.74 KB 674.6 KB 192.74% (+/- <0.01%)
/yo/quick-start 8.5 KB 677.36 KB 193.53% (+/- <0.01%)
/yo/release-notes/graphql-validations-migration-guide 9.65 KB 678.51 KB 193.86% (+/- <0.01%)
/yo/sunrise 8.85 KB 677.71 KB 193.63% (+/- <0.01%)
/yo/tokenomics 9.66 KB 678.52 KB 193.86% (+/- <0.01%)
/zh/about 7.96 KB 676.83 KB 193.38% (+/- <0.01%)
/zh/cookbook/base-testnet 7 KB 675.86 KB 193.10% (+/- <0.01%)
/zh/developing/assemblyscript-api 18.36 KB 687.22 KB 196.35% (+/- <0.01%)
/zh/developing/creating-a-subgraph 27.85 KB 696.71 KB 199.06% (+/- <0.01%)
/zh/developing/graph-ts/api 18.37 KB 687.23 KB 196.35% (+/- <0.01%)
/zh/developing/unit-testing-framework 18.37 KB 687.23 KB 196.35% (+/- <0.01%)
/zh/glossary 8.76 KB 677.63 KB 193.61% (+/- <0.01%)
/zh/new-chain-integration 7.29 KB 676.15 KB 193.19% (+/- <0.01%)
/zh/querying/querying-from-an-application 8.16 KB 677.02 KB 193.43% (+/- <0.01%)
Details

Only the gzipped size is provided here based on an expert tip.

First Load is the size of the global bundle plus the bundle for the individual page. If a user were to show up to your website and land on a given page, the first load size represents the amount of javascript that user would need to download. If next/link is used, subsequent page loads would only need to download that page's bundle (the number in the "Size" column), since the global bundle has already been downloaded.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

The "Budget %" column shows what percentage of your performance budget the First Load total takes up. For example, if your budget was 100kb, and a given page's first load size was 10kb, it would be 10% of your budget. You can also see how much this has increased or decreased compared to the base branch of your PR. If this percentage has increased by 20% or more, there will be a red status indicator applied, indicating that special attention should be given to this. If you see "+/- <0.01%" it means that there was a change in bundle size, but it is a trivial enough amount that it can be ignored.

@leoyvens
Copy link
Contributor

leoyvens commented Feb 5, 2024

Have you tested this? I think there is a nuance where if the field is explicitly set to null, it will be removed in the entity. But if it is simply omited, then it won't affect the enitty.

@schmidsi
Copy link
Member

schmidsi commented Feb 5, 2024

I'd add this to "Writing Mappings" instead of "Defining Entities"

@marcusrein
Copy link
Member Author

I tested the null handling within a subgraph and updated the description accordingly @leoyvens.

I moved the section to "Writing Mappings" @schmidsi

When creating and saving a new entity, if an entity with the same ID already exists, the properties of the new entity are preferred during the merge process. This means that the existing entity will be updated with the values from the new entity.

If a null value is set for a field in the new entity with the same ID, the existing entity will be updated with the null value.

Copy link
Contributor

Choose a reason for hiding this comment

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

What if no value is set at all? Good to be explicit about that case.

Copy link
Member Author

Choose a reason for hiding this comment

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

Just tested @leoyvens

If a mapping is updated to not pass any data to a field that previously had data, the field results in a null.

Copy link
Contributor

Choose a reason for hiding this comment

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

huh, surprising to me, good that we tested!

@marcusrein
Copy link
Member Author

I added one more paragraph considering this handling @leoyvens, let me know if you approve, thank you.

Copy link
Contributor

@leoyvens leoyvens left a comment

Choose a reason for hiding this comment

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

lgtm

@marcusrein marcusrein marked this pull request as ready for review February 14, 2024 20:23
@marcusrein marcusrein requested a review from a team as a code owner February 14, 2024 20:23
@marcusrein marcusrein merged commit 45280e6 into main Feb 14, 2024
3 checks passed
@marcusrein marcusrein deleted the handling-of-duplicate-entities branch February 14, 2024 20:23
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.

5 participants