From 232d41d3a142a0ce4a3dd1c340472c69068a2091 Mon Sep 17 00:00:00 2001 From: banasa44 Date: Thu, 14 Mar 2024 12:18:57 +0100 Subject: [PATCH] ci: Add the scalars that doesn't exist in GraphQL, add type Query as expected in introspection query --- packages/subgraph/schema.graphql | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/packages/subgraph/schema.graphql b/packages/subgraph/schema.graphql index 24ce7158b..598ccc9ec 100644 --- a/packages/subgraph/schema.graphql +++ b/packages/subgraph/schema.graphql @@ -1,3 +1,13 @@ +# This is for generating introspection query purposes +" Byte array, represented as a hexadecimal string. Commonly used for Ethereum hashes and addresses. " +scalar Bytes +" Large integers. Used for Ethereum's `uint32`, `int64`, `uint64`, ..., `uint25`6 types. Note: Everything below `uint32`, such as `int32`, `uint24` or `int8` is represented as `i32`. " +scalar BigInt +" Fake query required to generate introspection query. " +type Query @entity { + id: ID! +} + # Types # Token