vwkd / denokv-graphql

GraphQL bindings for Deno KV
https://deno.land/x/denokv_graphql
MIT License
11 stars 0 forks source link

Reference validation in insert mutation #14

Open vwkd opened 1 year ago

vwkd commented 1 year ago

Insert mutation should validate reference ids either are set in the same transaction or exist already. Currently, it allows to insert reference ids to non-existent rows which would then throw a database corruption error when queried.