fixed invalid use of postgres auth and punc session vars

This commit is contained in:
2026-09-01 12:21:48 -04:00
parent 90262fc82b
commit f17ee3b543
7 changed files with 51 additions and 31 deletions

View File

@ -180,7 +180,7 @@ impl<'a> ValidationContext<'a> {
}
if !self.response {
let is_external = self.db.executor.punc_external().unwrap_or(false);
let is_external = self.db.cue_external().unwrap_or(false);
if let Some(compiled_props) = self.schema.compiled_properties.get() {
for (key, sub_schema) in compiled_props {
if sub_schema.is_immutable(is_external) && obj.contains_key(key) {