Skip to content

Make realtime base compatible with Angular DI - #24

Merged
rdlabo merged 1 commit into
mainfrom
fix/realtime-angular-di-base
Jul 19, 2026
Merged

Make realtime base compatible with Angular DI#24
rdlabo merged 1 commit into
mainfrom
fix/realtime-angular-di-base

Conversation

@rdlabo

@rdlabo rdlabo commented Jul 19, 2026

Copy link
Copy Markdown
Contributor

What changed

  • mark the abstract realtime base as Angular injectable metadata
  • remove the non-DI constructor parameter and expose protected option overrides
  • add a TestBed consumer test for an injectable subclass with no constructor

Why

Angular consumer compilation rejected services inheriting the initial base constructor. This keeps the normal zero-constructor service pattern valid while preserving test/specialized option overrides.

Validation

  • targeted Prettier and ESLint
  • kit tests (231)
  • production kit build

@netlify

netlify Bot commented Jul 19, 2026

Copy link
Copy Markdown

Deploy Preview for rdlabo-ionic-angular-library ready!

Name Link
🔨 Latest commit b7fe2f4
🔍 Latest deploy log https://app.netlify.com/projects/rdlabo-ionic-angular-library/deploys/6a5c29e45cdd710008643e59
😎 Deploy Preview https://deploy-preview-24--rdlabo-ionic-angular-library.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@rdlabo
rdlabo marked this pull request as ready for review July 19, 2026 01:37
@rdlabo
rdlabo merged commit 5b2c429 into main Jul 19, 2026
12 checks passed
@rdlabo
rdlabo deleted the fix/realtime-angular-di-base branch July 19, 2026 01:37
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