Skip to content

Could not select an operator overload #119

@username14415

Description

@username14415

I have the error while using Phoenix.Sync.Controller

[error] ** (BadMapError) expected a map, got:
{:where, "At location 90: Could not select an operator overload"}
(phoenix_sync 0.6.0) lib/phoenix/sync/electric.ex:589: Phoenix.Sync.Electric.api_predefined_shape/4

My code:

 query =
        from(p in Project,
          where:
             p.type == "open"
        )

   sync_render(
        conn,
        params,
        query
      )

deps:

{:electric, "~> 1.1.10"},
{:phoenix_sync, "0.6.0"}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions