Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Devographics/Monorepo
/ extractQueryName
Function
extractQueryName
shared/fetch/fetch.ts:324–328 ·
view source on GitHub ↗
(queryString: string)
Source
from the content-addressed store, hash-verified
322
}
323
324
function
extractQueryName(queryString: string) {
325
const
regex = /query\s+(\w+)/
326
const
match = regex.exec(queryString)
327
return
match ? match[1] : null
328
}
329
330
/**
331
* Generic GraphQL fetcher
Callers
1
fetchGraphQLApi
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected