Skip to content

Commit e3f0d23

Browse files
Copilothuangyiirene
andcommitted
Fix createContext reference and update lockfile
Co-authored-by: huangyiirene <7665279+huangyiirene@users.noreply.github.com>
1 parent edc8ecc commit e3f0d23

3 files changed

Lines changed: 662 additions & 5 deletions

File tree

packages/foundation/core/src/app.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,8 @@ export class ObjectQL implements IObjectQL {
228228
ql: {
229229
object: (name: string) => {
230230
// Return a repository-like interface
231-
return app.createContext().object(name);
231+
// Cast to ObjectQL to access createContext
232+
return (this as ObjectQL).createContext({}).object(name);
232233
},
233234
query: async (soql: string) => {
234235
// TODO: Implement SOQL query execution

0 commit comments

Comments
 (0)