Skip to content

Commit

Permalink
Add missing casts in support schema
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieuprog committed May 28, 2024
1 parent 1c2f3a5 commit 76aeaf2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/support/models/polymorphic/reminder.ex
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ defmodule PolymorphicEmbed.Reminder do
|> cast(values, [:date, :text])
|> validate_required(:date)
|> cast_polymorphic_embed(:channel)
|> cast_polymorphic_embed(:channel2)
|> cast_polymorphic_embed(:channel3)
|> cast_polymorphic_embed(:contexts,
sort_param: :contexts_sort,
default_type_on_sort_create: :location,
Expand Down

0 comments on commit 76aeaf2

Please sign in to comment.