remove the verbose logging stuff. clean up README and comments from the weird nonsense LLMs added
This commit is contained in:
@@ -540,13 +540,13 @@ parse_exclusive_start_key :: proc(
|
||||
) -> (result: Maybe([]byte), ok: bool, body_err: bool) {
|
||||
data, parse_err := json.parse(request_body, allocator = context.temp_allocator)
|
||||
if parse_err != nil {
|
||||
return nil, false, true // body is not valid JSON — real error
|
||||
return nil, false, true // body is not valid JSON real error
|
||||
}
|
||||
defer json.destroy_value(data)
|
||||
|
||||
root, root_ok := data.(json.Object)
|
||||
if !root_ok {
|
||||
return nil, false, true // root must be an object — real error
|
||||
return nil, false, true // root must be an object real error
|
||||
}
|
||||
|
||||
esk_val, found := root["ExclusiveStartKey"]
|
||||
@@ -582,7 +582,7 @@ parse_exclusive_start_key :: proc(
|
||||
}
|
||||
|
||||
// parse_exclusive_start_key_gsi ... Just a helper for GSI keys
|
||||
// Returns (key, ok, body_parse_err) — same contract as parse_exclusive_start_key.
|
||||
// Returns (key, ok, body_parse_err) same contract as parse_exclusive_start_key.
|
||||
parse_exclusive_start_key_gsi :: proc(
|
||||
request_body: []byte,
|
||||
table_name: string,
|
||||
|
||||
Reference in New Issue
Block a user