Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/subquery/subql
/ buildSchemaFromDocumentNode
Function
buildSchemaFromDocumentNode
packages/utils/src/graphql/schema.ts:24–26 ·
view source on GitHub ↗
(doc: DocumentNode)
Source
from the content-addressed store, hash-verified
22
}
23
24
export
function
buildSchemaFromDocumentNode(doc: DocumentNode): GraphQLSchema {
25
return
extendSchema(loadBaseSchema(), doc);
26
}
Callers
3
graphql.spec.ts
File · 0.90
makeSchema
Function · 0.90
buildSchemaFromString
Function · 0.85
Calls
1
loadBaseSchema
Function · 0.85
Tested by
1
makeSchema
Function · 0.72