~/talk

Ecto.Schema without Ecto.Repo

Talkat EMPEX LA 2018 · on Saturday, 2018-02-10· [microservices]
slides:none on file

Claims that Ecto.Schema without Ecto.Repo works as a standalone data layer for microservices, using embedded_schema and cast_embed to parse JSON and RabbitMQ payloads, and custom types and validators to coerce legacy integers and enforce rules. A tiny JSON API that creates pet objects demonstrates apply_changes for valid data and error extraction for nested embeds. Limitations: no hook for custom-type error messages, no built‑in uniqueness/primary‑key checks without a DB, and awkward input/output field remapping.

AI-written summary · about

  1. 0:00Intro
  2. 0:30About RentPath
  3. 1:02EctoSchema
  4. 2:06Demo
  5. 2:40Error Response
  6. 3:13Embedded Schema
  7. 4:00Embeds
  8. 4:45Inline Style
  9. 5:27Custom Type
  10. 6:24Error Messages
  11. 7:48validators
  12. 8:20apply changes
  13. 9:16recursive logic
  14. 9:50Limitations
  15. 14:56Outro
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.