diff --git a/.changeset/polite-hotels-hope.md b/.changeset/polite-hotels-hope.md new file mode 100644 index 000000000..53b58cf9d --- /dev/null +++ b/.changeset/polite-hotels-hope.md @@ -0,0 +1,5 @@ +--- +"@osdk/client": patch +--- + +Fix use of new interfaces api with preview flag. diff --git a/packages/client/src/object/fetchPage.ts b/packages/client/src/object/fetchPage.ts index 3f4444bdb..a7ce82d21 100644 --- a/packages/client/src/object/fetchPage.ts +++ b/packages/client/src/object/fetchPage.ts @@ -135,6 +135,7 @@ async function fetchInterfacePage< select: ((args?.$select as string[] | undefined) ?? []), excludeRid: !args?.$includeRid, }), + { preview: true }, ); return Promise.resolve({ data: await client.objectFactory2(