Skip to content

fix: expose db on createObserver() return type - #12

Merged
AxaySharma merged 1 commit into
developfrom
fix/expose-db-in-observer
Jun 11, 2026
Merged

AxaySharma merged 1 commit into
developfrom
fix/expose-db-in-observer

Conversation

@AxaySharma

Copy link
Copy Markdown
Contributor

Downstream apps (wrkmark-app) need direct database access for raw SQL queries. Previously forced to use (sessionManager as any).db type hack.

Adding db: WrkmarkDb to return type eliminates the any cast and restores full TypeScript type safety.

Tests: 69/69 passing | typecheck: zero errors

Downstream apps (wrkmark-app) need direct database
access for raw SQL queries. Previously forced to use
(sessionManager as any).db type hack.

Adding db: WrkmarkDb to return type eliminates the
any cast and restores full TypeScript type safety.

Tests: 69/69 passing | typecheck: zero errors
@AxaySharma
AxaySharma merged commit 8ae5e3b into develop Jun 11, 2026
2 checks passed
@AxaySharma
AxaySharma deleted the fix/expose-db-in-observer branch June 11, 2026 11:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant