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

aas-core-works / aas-core-codegen / 34020197342
85%

Build:
DEFAULT BRANCH: main
Ran 06 Sep 2026 07:54AM UTC
Jobs 3
Files 268
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

06 Sep 2026 07:49AM UTC coverage: 84.654%. Remained the same
34020197342

push

github

web-flow
Simplify JSON de/serialization in TypeScript (#680)

We add generic ``parseArray``/``serializeArray`` helpers for JSON
list (de)serialization, replacing per-property inlined boilerplate
with shared calls.

Call sites pass a bare function reference wherever the existing
per-type function already has the right signature, and reach for a
lambda only where ``this`` must be captured. Concretely,
``serializeArray`` is called with ``AasCommon.base64Encode`` for
byte-array items and with ``AasStringification.must{Enum}ToString``
for enumeration items, while class items still need
``(item) => this.transform(item)``. Lists of identity primitives
(``bool``/``int``/``float``/``str``) skip ``serializeArray``
altogether and use ``Array.from`` for a defensive copy, since no
per-item transformation is needed.

TypeScript's XML (de)serialization is left untouched: XML
deserialization was already simplified in a separate, earlier pull
request (#671).

12 of 12 new or added lines in 1 file covered. (100.0%)

1 existing line in 1 file now uncovered.

30919 of 36524 relevant lines covered (84.65%)

2.54 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
93.83
0.2% aas_core_codegen/typescript/lib/_generate_jsonization.py
Jobs
ID Job ID Ran Files Coverage
1 3.10 - 34020197342.1 06 Sep 2026 07:57AM UTC 268
84.65
GitHub Action Run
2 3.11 - 34020197342.2 06 Sep 2026 07:57AM UTC 268
84.65
GitHub Action Run
3 3.12 - 34020197342.3 06 Sep 2026 07:57AM UTC 268
84.65
GitHub Action Run
Source Files on build 34020197342
  • Tree
  • List 268
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • d0d1f171 on github
  • Prev Build on main (#33978422058)
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