Auto-indexing service and GraphQL API for AT Protocol Records quickslice.slices.network/
atproto gleam graphql

Feature request: Validate records before ingesting #5

open opened by byjp.me

I'd love to be able to do custom validation on records to determine if they should be imported into Quickslice. For me, this entails validating an Ed25519 signature in the record with an Ed25519 public key in the record (I'd want it so that, if the validation fails, the record isn't added to Quickslice's DB).

We discussed this briefly last year; it seemed like making an HTTP call to a function would be the simplest way to implement this for you (though I'd also be interested in uploading a JS/TS file for each record type in the lexicons zip too!)

I'm very unfamiliar with Gleam (but have a very small amount of experience with Elixir at least), but could give this a crack if you're short on time — any pointers would be appreciated!

byjp.me (author)

I've had a crack at implementing this in this PR — I'd appreciate feedback!

sign up or login to add to the discussion
Labels

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:plc:ephkzpinhaqcabtkugtbzrwu/sh.tangled.repo.issue/3mck4vss7bo22