docs(inbound-api): DB row is authoritative for method scripts — update broken-save warning + Direct SQL Warning for the revision-checked cache
Claude-Session: https://claude.ai/code/session_01MtdgwpEeCUn6cUA5f1LMPj
This commit is contained in:
@@ -417,8 +417,9 @@ public class ManagementActorTests : TestKit, IDisposable
|
||||
{
|
||||
// The save still persists, but a script that does not compile must surface a
|
||||
// top-level compileWarning in the result rather than silently looking like a
|
||||
// success — and the previously registered handler keeps serving (CompileAndRegister
|
||||
// never replaces a working delegate with a broken one).
|
||||
// success. The DB row is authoritative: ExecuteAsync revision-checks the cached
|
||||
// handler against the fresh row, so the broken script returns a compilation error
|
||||
// on every request/node rather than a previously registered handler still serving.
|
||||
var existing = new Commons.Entities.InboundApi.ApiMethod("MyMethod", "return 1;")
|
||||
{
|
||||
Id = 7,
|
||||
|
||||
Reference in New Issue
Block a user