MCPcopy Create free account
hub / github.com/artsy/force / downloadMetaphysicsSchema

Function downloadMetaphysicsSchema

scripts/validateSchemas.js:16–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14const fetch = require("isomorphic-fetch")
15
16const downloadMetaphysicsSchema = async endpoint => {
17 const response = await fetch(endpoint)
18 return response.text()
19}
20
21const getBreakingChanges = async (metaphysicsEnv, metaphysicsVersion = 2) => {
22 const localSchema = readFileSync(

Callers 1

getBreakingChangesFunction · 0.85

Calls 1

textMethod · 0.45

Tested by

no test coverage detected