This Week's Trending Top

This Month's Trending Top

This Year's Trending Top

Last Three Year's Trending Top

agonzalezro
Hi :wave: I had this piece of (working) code: items = products |> Enum.map(fn product -> params = %{produ...
New
blset
Hello … |> cast_embed(:inds, required: true, error_message: “ddd”) does not take the error message into account when the embedde...
New

Trending Over Three Years Top

r11na
I’m trying to figure out how to use cast_embed but I don’t understand what I’m doing wrong. defmodule Operation do use Ecto.Schema ...
New
augnustin
So I have this embed structure: defmodule MyApp.Struct do use Ecto.Schema import Ecto.Changeset @primary_key false @derive Ja...
New
Sanjibukai
Hello everyone, TL;DR: How to get a changeset with only embeds data? I have some trouble understanding how cast_embed should work.. Le...
New
grangerelixx
Hi, I have an ecto schema whose changeset function is in the following structure def changeset(post, attrs) do post |> cast(a...
New
Xantrac
Good evening, I’m working on a system where an ecto schema has an embed JSON field. I was trying to figure out what is the best option. ...
New
  • Follow
  • Join
  • Shape
the conversation

Latest on Elixir Forum

Elixir Forum

Similar Portals

    None added yet

We're in Beta

About us Mission Statement