mirror of
https://github.com/BradNut/graphbrainz
synced 2025-09-08 17:40:32 +00:00
Build schema.json with data as top-level property instead of __schema for Relay compatibility
This commit is contained in:
parent
be67d771ab
commit
46d16ebd13
2 changed files with 10754 additions and 10752 deletions
21504
schema.json
21504
schema.json
File diff suppressed because it is too large
Load diff
|
|
@ -3,7 +3,7 @@ import schema from '../src/schema'
|
|||
|
||||
if (process.argv[2] === '--json') {
|
||||
graphql(schema, introspectionQuery).then(result => {
|
||||
console.log(JSON.stringify(result.data, null, 2))
|
||||
console.log(JSON.stringify(result, null, 2))
|
||||
}).catch(err => {
|
||||
console.error(err)
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue