Skip to content

feat: support local-only offline projections - #31

Merged
rdlabo merged 2 commits into
mainfrom
feat/offline-local-projections
Jul 24, 2026
Merged

feat: support local-only offline projections#31
rdlabo merged 2 commits into
mainfrom
feat/offline-local-projections

Conversation

@rdlabo

@rdlabo rdlabo commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Summary

  • allow replica entities without a server ID for local-only projections
  • keep the existing at-most-one server ID invariant
  • preserve strict nullability checks when strictNullChecks is enabled, while supporting legacy consumers that disable it

Verification

  • npm run lint
  • npm run prebuild:kit
  • npx ng test kit --watch=false (33 files, 418 tests)
  • integrated type-check and app tests against tipsys offline feed work

Compatibility

This relaxes a runtime restriction and keeps existing server-backed replica schemas unchanged.

@netlify

netlify Bot commented Jul 23, 2026

Copy link
Copy Markdown

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

Name Link
🔨 Latest commit 3811f29
🔍 Latest deploy log https://app.netlify.com/projects/rdlabo-ionic-angular-library/deploys/6a63eb30a799d900087c11b2
😎 Deploy Preview https://deploy-preview-31--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 force-pushed the feat/offline-local-projections branch from 5206251 to 3811f29 Compare July 24, 2026 22:46
@rdlabo
rdlabo marked this pull request as ready for review July 24, 2026 22:52
@rdlabo

rdlabo commented Jul 24, 2026

Copy link
Copy Markdown
Contributor Author

レビュー完了

  • 上長レビュー: APPROVED(Web/SQLite parity、transaction原子性、server-backed後方互換を確認)
  • 第三者受け入れレビュー: APPROVED(local-only round-trip、serverId lookup、誤用rejectを独立確認)
  • CI: 全check green
  • ローカル検証: lint / kit production build / 422 tests / nonstrict type compile / diff-check pass

HEAD: 3811f29

@rdlabo
rdlabo merged commit f003a30 into main Jul 24, 2026
12 checks passed
@rdlabo
rdlabo deleted the feat/offline-local-projections branch July 24, 2026 22:52

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 1 additional finding.

Open in Devin Review

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