electric-sql / electric-sql/phoenix_sync

Where to authorize an insert?

Open
#52 2 comments 0 reactions 1 assignee Claimed by @magnetised View on GitHub
question
Dominant language
Elixir
Stars
290
Forks
17
PR merge metrics
No merged PRs in 30d

Description

The description of the `check` and `load` callbacks https://hexdocs.pm/phoenix_sync/Phoenix.Sync.Writer.html#module-callbacks indicates that:

1. check should not hit the DB (all checks are run together before iterating through the operations)
2. load is not called for an insert

So where should I authorize an insert?

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.