Packages
polymorphic_embed
2.0.0
5.0.6
5.0.5
5.0.3
5.0.2
5.0.1
5.0.0
4.1.1
4.1.0
4.0.0
3.0.7
3.0.6
3.0.5
3.0.4
3.0.3
3.0.2
3.0.1
3.0.0
2.0.1
2.0.0
1.10.0
1.9.0
1.8.1
1.8.0
1.7.2
1.7.1
1.7.0
1.6.3
1.6.2
1.6.1
1.6.0
1.5.1
1.5.0
1.4.0
1.3.4
1.3.3
1.3.2
1.3.1
1.3.0
1.2.0
1.1.0
1.0.0
0.16.0
0.15.0
0.14.0
0.13.0
0.12.0
0.11.0
0.10.0
0.9.0
0.8.0
0.7.0
0.6.0
0.5.0
0.4.0
0.3.0
0.2.0
0.1.0
Polymorphic embeds in Ecto
Current section
Files
Jump to
Current section
Files
polymorphic_embed
CHANGELOG.md
CHANGELOG.md
# Changelog
## 2.0.x
* Support IDs
### Migration from 1.x to 2.x
* Make sure that every existing polymorphic `embedded_schema` contains the setting `@primary_key false`
## 1.10.x
* Add `polymorphic_embed_inputs_for/2` for displaying forms in LiveView
* Add `polymorphic_embed_inputs_for/3` for displaying forms in Phoenix templates without
needing to specify the type
## 1.9.x
* Add `PolymorphicEmbed.types/2` function returning the possible types for a polymorphic field
## 1.8.x
* Add `:nilify` and `:ignore` for `:on_type_not_found` option
## 1.7.x
* Support the SQLite3 Ecto adapter `ecto_sqlite3`
## 1.6.x
* Fix errors in form for `embeds_one` nested into `polymorphic_embed`
* Refactor `PolymorphicEmbed.HTML.Form`
## 1.5.x
* Add `traverse_errors/2`
## 1.4.x
* Support custom changeset functions through `:with` option
## 1.3.x
* Add `:required` option
## 1.2.x
* Support custom type field
## 1.1.x
* Support list of polymorphic embeds
* Force `:on_replace` option to be explicitly set