~ knotless Search/
↑↓ move↵ open⇧↵ all results

chadtmiller.com/pds.js

An atproto PDS in JavaScript, for Cloudflare Workers and Node

0
0
main
11 lines · 476 B Raw History
---
'@pdsjs/core': patch
---

A create at a key the repo already holds is refused with 400
`InvalidRequest` ("Record already exists"), as the reference PDS does,
instead of replacing the record. That covers `createRecord` and
`applyWrites#create`, including two creates of one key in one batch, and
a refused batch writes nothing. Clients claim a key by creating at it:
knotless names a repository's record by its name and relies on the create
failing when the name is taken.