Skip to content

Commit

Permalink
Add preview flag for interface API (#1015)
Browse files Browse the repository at this point in the history
* add preview flag

* add changeset

* fix index file
  • Loading branch information
ssanjay1 authored Nov 22, 2024
1 parent 6b6c8a1 commit 015279b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/polite-hotels-hope.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@osdk/client": patch
---

Fix use of new interfaces api with preview flag.
1 change: 1 addition & 0 deletions packages/client/src/object/fetchPage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 015279b

Please sign in to comment.