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

mathieuprog / polymorphic_embed
88%
master: 83%

Build:
Build:
LAST BUILD BRANCH: fix-embeds-cast-and-forms
DEFAULT BRANCH: master
Repo Added 13 Nov 2022 06:48AM UTC
Token 0FgC2mLQUk5OpCbIW5cyZlxOOySGoDiS3 regen
Build 104 Last
Files 5
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-embeds-cast-and-forms
branch: SELECT
CHANGE BRANCH
x
Sync Branches
  • No branch selected
  • al/ci
  • al/quiet-tests
  • ecto-parity
  • fix-embeds-cast-and-forms
  • fix-get-type
  • fix-normalize-embed-params
  • fix-param-handling
  • fix-security-audit
  • fix-with-ecto-3.12
  • fix/warnings
  • hidden-input-for-type
  • master
  • patch-1
  • refs/pull/132/merge
  • refs/pull/148/merge
  • remove-alias-expansion-warning

29 Oct 2026 08:52AM UTC coverage: 88.01% (+5.1%) from 82.933%
383465edca88e3d964ce03dc34f4965f6aefa9b2-PR-149

Pull #149

github

nduitz
Add the changes of this branch to the changelog

The changelog lists the breaking changes and the fixes of the cast and
of the form helpers. It also says how to read the data of a nested
embed in a child form: with Ecto.Changeset.get_field/2, because
form[:field].value gives the value for an input.
Pull Request #149: Fix embeds cast and forms

64 of 72 new or added lines in 3 files covered. (88.89%)

367 of 417 relevant lines covered (88.01%)

534.16 hits per line

Relevant lines Covered
Build:
Build:
417 RELEVANT LINES 367 COVERED LINES
534.16 HITS PER LINE
Source Files on master
  • Tree
  • List 5
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
383465ed... fix-embeds-cast-and-forms Add the changes of this branch to the changelog The changelog lists the breaking changes and the fixes of the cast and of the form helpers. It also says how to read the data of a nested embed in a child form: with Ecto.Changeset.get_field/2, beca... Pull #149 29 Oct 2026 10:21AM UTC nduitz github
88.01
44b1449e... ecto-parity Add put_polymorphic_embed/3 When the cast puts changesets into the changes of a polymorphic field, the field has an Ecto embed type with one schema module. Ecto's put_change/3, update_change/3 and change/2 then check each child against that modul... Pull #148 24 Oct 2026 09:24AM UTC nduitz github
85.81
322096be... ecto-parity Add put_polymorphic_embed/3 When the cast puts changesets into the changes of a polymorphic field, the field has an Ecto embed type with one schema module. Ecto's put_change/3, update_change/3 and change/2 then check each child against that modul... Pull #148 23 Oct 2026 12:34PM UTC nduitz github
85.5
e4b885da... ecto-parity Add put_polymorphic_embed/3 When the cast puts changesets into the changes of a polymorphic field, the field has an Ecto embed type with one schema module. Ecto's put_change/3, update_change/3 and change/2 then check each child against that modul... Pull #148 23 Oct 2026 11:34AM UTC nduitz github
84.35
f333f9a0... ecto-parity Add regression tests for inserts, forms and load options A review of the change that keeps the child changesets in the changes found these flows. The tests check that: - an insert keeps embeds of more than one type that are only in the data, a... Pull #148 23 Oct 2026 11:04AM UTC nduitz github
83.1
7c4b7e9b... ecto-parity Remove the separate test for the id match of embeds_many The test "cast embeds_many keeps the data of a row that it matches by id" checked the id match while the mirrored Ecto test "cast embeds_many changing schemas" still failed. That test now p... Pull #148 23 Oct 2026 10:14AM UTC nduitz github
84.26
3ce0752a... ecto-parity Test that nil for a list of embeds is invalid Commit 2985b48 made nil for a list of embeds invalid, as in Ecto, and removed contexts2: nil from the params of an existing test. The new test checks the change in polymorphic_embed_test.exs for both ... Pull #148 23 Oct 2026 10:03AM UTC nduitz github
84.26
d74e2b2a... ecto-parity Build polymorphic embed forms as phoenix_ecto does PolymorphicEmbed.HTML.Helpers.to_form/4 now follows the rules that phoenix_ecto uses for embeds_one and embeds_many: - A child form uses the child changeset from changes, with its own params a... Pull #148 22 Oct 2026 12:42PM UTC nduitz github
84.26
c134615f... fix-param-handling Read nested embed values of valid children from data A valid child form has no changes, so phoenix_ecto read nested embed values from the raw form parameters. Drop embed keys from the form parameters and keep them on the changeset for nested poly... Pull #132 22 Oct 2026 09:46AM UTC nduitz github
87.12
fad9a504... fix-security-audit Add castore as test dependency Phoenix 1.8 does not depend on castore. Without it, excoveralls cannot upload coverage on OTP 24, because OTP 24 cannot use OS certificates. Pull #147 22 Oct 2026 09:00AM UTC nduitz github
82.98
See All Builds (104)

Badge your Repo: polymorphic_embed

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 TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc