Good afternoon spicedb community. I am reaching o...
# spicedb
e
Good afternoon spicedb community. I am reaching out to enquire about Relationship functionality within a
serve-testing
environment. FYI I am using the gRPC API. I have found that Deleting relationships that do not exist return 200 OK, where i would expect a 404 NOT FOUND. I describe the following behavior for Delete where fields for
relation
,
subject
,
resource
are validated against the schema but the
id
fields are not.
Copy code
{
    "relation": "reader",       -> Validates
    "subject": "user",          -> Validates
    "subjectid": "gary",        -> No Validation
    "resource": "document",     -> Validates
    "resourceid": "firstddoc"   -> No Validation
}
Thanks in advance for any help