Skip to content

sync_render does not work with enum fields #128

Description

@amigo70707

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"])
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions