• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

dal-go / dalgo / 27254746677
100%

Build:
DEFAULT BRANCH: main
Ran 10 Jun 2026 05:12AM UTC
Jobs 1
Files 115
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

10 Jun 2026 05:11AM UTC coverage: 100.0%. Remained the same
27254746677

push

github

trakhimenok
feat: add dal.WithAdapterGeneratedID() insert option

Let consumers say "I don't care what the ID is — let the storage
backend generate it natively" (e.g. Firestore's client-side 20-char
auto-IDs):

- dal.WithAdapterGeneratedID() InsertOption sets a flag adapters
  introspect via the new InsertOptions.PreferAdapterGeneratedID() bool
  accessor.
- Contract (documented on the option): adapters SHOULD use their
  backend's native ID generation if available, and MUST fall back to
  the default random-string generator
  (WithRandomStringKey(DefaultRandomStringIDLength, 5)) otherwise, so
  the option never fails on a compliant adapter. An explicit generator
  option always wins: adapters check IDGenerator() first and only
  consult PreferAdapterGeneratedID() when it is nil.
- dalgo2memory: honor the option via the fallback path (memory has no
  native ID mechanism).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Signed-off-by: Alexander Trakhimenok <alexander.trakhimenok@gmail.com>

15 of 15 new or added lines in 2 files covered. (100.0%)

7334 of 7334 relevant lines covered (100.0%)

1.15 hits per line

Jobs
ID Job ID Ran Files Coverage
1 27254746677.1 10 Jun 2026 05:12AM UTC 115
100.0
GitHub Action Run
Source Files on build 27254746677
  • Tree
  • List 115
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • fde90119 on github
  • Prev Build on main (#27212741124)
  • Next Build on main (#27260995674)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc