mirror of
https://github.com/morluto/rea.git
synced 2026-11-24 07:26:11 +00:00
refactor: remove redundant seams and preserve cleanup ownership (#10375)
* refactor: remove redundant seams and preserve cleanup ownership * fix: validate PE resource extents before budget checks
This commit is contained in:
1 parent
4b26f38d6f
commit
cdc4541ef7
369 files changed
+3847
-3662
No files matched your search
@@ -1,3 +1,4 @@
|
||||
import { jsonPointerTokens } from "../../domain/jsonPointer.js";
|
||||
import {
|
||||
createdFields,
|
||||
documentBodyProblem,
|
||||
@@ -53,7 +54,6 @@ import {
|
||||
collectionMatch,
|
||||
decodedSegment,
|
||||
isObject,
|
||||
pointerTokens,
|
||||
scalarText,
|
||||
type JsonObject,
|
||||
type StateEntity,
|
||||
@@ -435,7 +435,7 @@ export const writeAnswer = (
|
||||
// A member the call sent and the plan stores as sent is answered as sent; any other keeps the recorded answer.
|
||||
unloaded: (plan.observation?.read?.unloaded ?? []).filter(
|
||||
(path) => {
|
||||
const [field] = pointerTokens(path);
|
||||
const [field] = jsonPointerTokens(path);
|
||||
return !(
|
||||
rendered.sent?.includes(field!) === true &&
|
||||
plan.rules.some(
|
||||
|
||||
Reference in new issue
Block a user