View Source Sorcery.Specs.Primative (Sorcery v0.2.3)
Link to this section Summary
Functions
Format for the collection of all entities %{ user: %{
Map format for a list of entities of a given type. %{ 1 => %{id: 1, name: "asdf"}, 2 => %{id: 2, name: "qwerty"}, }
Link to this section Functions
Format for the collection of all entities %{ user: %{
1 => %{id: 1, name: "asdf"},
2 => %{id: 2, name: "qwerty"},
}, comment: %{
1 => %{id: 1, body: "asdf"},
2 => %{id: 2, body: "qwerty"},
}, }
Map format for a list of entities of a given type. %{ 1 => %{id: 1, name: "asdf"}, 2 => %{id: 2, name: "qwerty"}, }