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

dennisdoomen / pathy / 31405283827
96%

Build:
DEFAULT BRANCH: main
Ran 10 Aug 2026 03:47PM UTC
Jobs 1
Files 5
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 Aug 2026 03:45PM UTC coverage: 95.0% (-1.9%) from 96.85%
31405283827

push

github

web-flow
Add TypeConverter and opt-in JsonConverter support for ChainablePath (#160)

* Test

* Add TypeConverter and opt-in JsonConverter support for ChainablePath (#145)

- Add ChainablePathTypeConverter (unconditional, no extra dependency) so
  ChainablePath can be bound from configuration, command-line args, or
  MSBuild properties via System.ComponentModel.TypeConverter.
- Add ChainablePathJsonConverter gated behind a new opt-in
  PATHY_SYSTEM_TEXT_JSON compilation symbol, since System.Text.Json is not
  guaranteed to be available on every targeted framework (notably net47),
  and this is a source-only contentFiles package that must not force a new
  dependency onto every consumer.
- Apply [TypeConverter] unconditionally and [JsonConverter] only under
  PATHY_SYSTEM_TEXT_JSON on the ChainablePath struct, following the
  existing PATHY_PUBLIC conditional visibility pattern.
- Define PATHY_SYSTEM_TEXT_JSON for Pathy.csproj itself (and add a
  System.Text.Json package reference for non-net8.0 TFMs) so this repo's
  own build/tests actually exercise the JSON converter, without adding a
  System.Text.Json dependency to the packed contentFiles.
- Add unit tests covering TypeConverter CanConvertFrom/ConvertFrom/ConvertTo
  round-tripping and JSON serialize/deserialize round-tripping of a
  ChainablePath property.
- Update approved public API snapshots (PublicApiGenerator) for all four
  TFMs to include the new converter types and attributes.
- Document TypeConverter (works out of the box) and JsonConverter (opt-in
  via PATHY_SYSTEM_TEXT_JSON) support in README.md.

Fixes #145

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Dennis Doomen <dennis.doomen@greenchoice.nl>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

115 of 126 branches covered (91.27%)

Branch coverage included in aggregate %.

23 of 25 new or added lines in 2 files covered. (92.0%)

284 of 294 relevant lines covered (96.6%)

141.92 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
73.33
Pathy/ChainablePathTypeConverter.cs
Jobs
ID Job ID Ran Files Coverage
1 31405283827.1 10 Aug 2026 03:47PM UTC 5
95.0
GitHub Action Run
Source Files on build 31405283827
  • Tree
  • List 5
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #31405283827
  • e1e65dc5 on github
  • Prev Build on main (#31405105120)
  • Next Build on main (#31411743555)
  • Delete
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