phoenix_sync icon indicating copy to clipboard operation
phoenix_sync copied to clipboard

sync_render does not work with enum fields

Open amigo70707 opened this issue 5 months ago • 0 comments

enum fields cause errors when used in a where clause with sync_render.

execute "CREATE TYPE todo_status AS ENUM ('pending', 'running', 'paused', 'completed', 'skipped')"

sync_render(
  conn,
  params,
  from(todo in Todo, where: todo.status in ["pending", "running", "paused"])
)

amigo70707 avatar Jun 08 '26 09:06 amigo70707