@m1212e/rumble 0.16.34 → 0.16.35

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/out/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import { t as lazy } from "./lazy-BgeBy3-B.mjs";
2
- import { t as generateFromSchema } from "./generate-B6JGM5pc.mjs";
2
+ import { t as generateFromSchema } from "./generate-CwAZQRah.mjs";
3
3
  import { GraphQLError } from "graphql";
4
4
  import { EnvelopArmorPlugin } from "@escape.tech/graphql-armor";
5
5
  import { useDisableIntrospection } from "@graphql-yoga/plugin-disable-introspection";
@@ -181,7 +181,7 @@ function mapNullFieldsToUndefined(obj) {
181
181
  }
182
182
  //#endregion
183
183
  //#region package.json
184
- var version = "0.16.34";
184
+ var version = "0.16.35";
185
185
  //#endregion
186
186
  //#region lib/helpers/mergeFilters.ts
187
187
  function mergeFilters(filterA, filterB) {
@@ -708,7 +708,7 @@ const createWhereArgImplementer = ({ db, schemaBuilder, enumImplementer }) => {
708
708
  //#endregion
709
709
  //#region lib/client/client.ts
710
710
  const clientCreatorImplementer = ({ builtSchema }) => {
711
- const clientCreator = async ({ apiUrl, outputPath, rumbleImportPath, useExternalUrqlClient, removeExisting, forceReactivity }) => {
711
+ const clientCreator = async ({ apiUrl, outputPath, rumbleImportPath, useExternalUrqlClient, removeExisting, forceReactivity, autoIncludeIdField = false }) => {
712
712
  if (process.env.NODE_ENV !== "development") console.warn(`Running rumble client generation in non development mode. Are you sure this is correct? Called from ${__filename} with arguments: ${JSON.stringify({
713
713
  outputPath,
714
714
  apiUrl,
@@ -723,7 +723,8 @@ const clientCreatorImplementer = ({ builtSchema }) => {
723
723
  apiUrl,
724
724
  useExternalUrqlClient,
725
725
  removeExisting,
726
- forceReactivity
726
+ forceReactivity,
727
+ autoIncludeIdField
727
728
  });
728
729
  };
729
730
  return clientCreator;