2019-11-20 21:09:47 +08:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
2022-03-25 06:48:41 +08:00
|
|
|
exports[`makeSchema directives can specify custom directives 1`] = `
|
|
|
|
|
"directive @customDirective(code: Int = 42) on FRAGMENT_DEFINITION
|
|
|
|
|
|
|
|
|
|
type Query {
|
|
|
|
|
ok: Boolean!
|
|
|
|
|
}"
|
|
|
|
|
`;
|
|
|
|
|
|
2019-11-20 21:09:47 +08:00
|
|
|
exports[`makeSchema shouldExitAfterGenerateArtifacts accepts a customPrintSchemaFn 1`] = `
|
2020-04-07 23:14:08 +08:00
|
|
|
"### This file was generated by Nexus Schema
|
2019-11-20 21:09:47 +08:00
|
|
|
### Do not make changes to this file directly
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
type Query {
|
2022-02-18 01:47:40 +08:00
|
|
|
\\"\\"\\"Example boolean field\\"\\"\\"
|
2020-09-30 21:53:48 +08:00
|
|
|
ok: Boolean
|
2022-02-18 01:47:40 +08:00
|
|
|
}"
|
2019-11-20 21:09:47 +08:00
|
|
|
`;
|