zudoku 0.93.1 → 0.93.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/cli.js +1 -1
- package/package.json +1 -1
- package/src/lib/oas/graphql/index.ts +3 -1
package/dist/cli/cli.js
CHANGED
|
@@ -5646,7 +5646,7 @@ builder.queryType({
|
|
|
5646
5646
|
})
|
|
5647
5647
|
});
|
|
5648
5648
|
var schema = builder.toSchema();
|
|
5649
|
-
var createGraphQLServer = (options) => createYoga({ schema, batching: true, ...options });
|
|
5649
|
+
var createGraphQLServer = (options) => createYoga({ schema, batching: true, logging: "warn", ...options });
|
|
5650
5650
|
|
|
5651
5651
|
// src/lib/plugins/openapi/interfaces.ts
|
|
5652
5652
|
var DOCUMENT_TYPE_EXTENSION = "x-zudoku-type";
|
package/package.json
CHANGED
|
@@ -1050,6 +1050,8 @@ builder.queryType({
|
|
|
1050
1050
|
|
|
1051
1051
|
export const schema = builder.toSchema();
|
|
1052
1052
|
|
|
1053
|
+
// graphql-yoga 6 logs every request at info ("Request processed"), which
|
|
1054
|
+
// floods `zudoku build` output during prerendering. Keep warnings and errors.
|
|
1053
1055
|
export const createGraphQLServer = (
|
|
1054
1056
|
options?: Omit<YogaServerOptions<any, any>, "schema">,
|
|
1055
|
-
) => createYoga({ schema, batching: true, ...options });
|
|
1057
|
+
) => createYoga({ schema, batching: true, logging: "warn", ...options });
|