electric-sql / electric-sql/phoenix_sync

Could not select an operator overload

Open
#119 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Elixir
Stars
290
Forks
17
PR merge metrics
No merged PRs in 30d

Description

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"}
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.