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

phcurado / zoi
100%
main: 100%

Build:
Build:
LAST BUILD BRANCH: add-json-schema-encoder-for-default
DEFAULT BRANCH: main
Repo Added 03 Aug 2025 07:56AM UTC
Token nGnpllL1k2Tfme3BKrwDh6hrKHamP3a5l regen
Build 369 Last
Files 66
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

LAST BUILD ON BRANCH fix-array-error-path-and-incorrect-tests
branch: fix-array-error-path-and-incorrect-tests
CHANGE BRANCH
x
Reset
Sync Branches
  • fix-array-error-path-and-incorrect-tests
  • add-json-schema-encoder-for-default
  • atom-type
  • autogenerated-docs
  • badges
  • bump-elixir-version
  • cache-dialyxir
  • codecs
  • context
  • custom-email-formats
  • date-main-types
  • date-refinements
  • decimal
  • decimal-jsonschema
  • describe-struct
  • doc-to-description
  • document-schema-type
  • elixir-1.19
  • elixir-19-structs
  • enum-key-value-coercion
  • example-description-metadata
  • example-directive
  • extend-type
  • feat-one-of
  • feat/add-github-actions
  • feat/datetime
  • feat/object-string-keys
  • feat/proposal-optional-type-rework
  • feat/refactor-strict-objects
  • feat/type-spec
  • fix-comma-example
  • fix-describe-decimal
  • fix-enum-spec
  • fix-nested-keyword-error
  • fix-regex-case
  • fix-url-regex
  • fix-zoi-struct-default
  • fix/docs-zoi-type
  • gt-lt-refinements
  • guides
  • guides-group
  • image-logo
  • improve-docs
  • improve-docs-with-guides
  • improve-form-error-docs
  • improve-object-keyword
  • inspect-protocol
  • intersection-type
  • json-schema
  • json-schema-dates
  • json-schema-metadata
  • json-schema-regex
  • json-schema-regex-length
  • keyword-type
  • lazy-type
  • literal-type
  • main
  • map-errors
  • map-parse
  • map-type
  • metadata
  • nested-structure-json-schema
  • non_neg-refinement
  • null-type
  • nullish-type
  • object-empty-values
  • object-keys
  • object-mfa-transform
  • parse-raise
  • positive-negative-validation
  • prettify-errors
  • readme-docs
  • readme-metadata-reference
  • refactor-errors
  • required-type
  • self-documenting-opts
  • small-improv-readme
  • string-boolean-type
  • string-regex
  • test-forms
  • test-improvements
  • time
  • transform-docs
  • traverse-schema-helper
  • type-internal-refinements
  • union-intersection-custom-error
  • url
  • uuid
  • validations
  • zoi-effect-order
  • zoi-forms

09 Oct 2025 08:09AM UTC coverage: 99.851%. Remained the same
395aa4760fa802d9d3a92e0853d78727ed942581-PR-49

Pull #49

github

tudborg
fix: Array type would `append_path` instead of `add_path` on error

The error path during array failure was wrong.
All other types seems to call `add_path`
(which should probably be called `prepend_path`)
on it's way out of nested parsing.

Array was the only one using `append_path`, so I've removed `append_path`.

I also fixed a test that asserted the wrong path.
This is what gave it away, the path in the test was not pointing to the
actual error element of the data.
Pull Request #49: fix: Array type would `append_path` instead of `add_path` on error

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

671 of 672 relevant lines covered (99.85%)

56.77 hits per line

Relevant lines Covered
Build:
Build:
672 RELEVANT LINES 671 COVERED LINES
56.77 HITS PER LINE
Source Files on fix-array-error-path-and-incorrect-tests
  • Tree
  • List 45
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
395aa476... fix-array-error-path-and-incorrect-tests fix: Array type would `append_path` instead of `add_path` on error The error path during array failure was wrong. All other types seems to call `add_path` (which should probably be called `prepend_path`) on it's way out of nested parsing. Array ... Pull #49 09 Oct 2025 10:58AM UTC tudborg github
99.85
See All Builds (369)

Badge your Repo: zoi

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc