Skip to content

SOF-7926: generic InMemoryEntity - #142

Open
k0stik wants to merge 14 commits into
mainfrom
chore/SOF-7926
Open

SOF-7926: generic InMemoryEntity#142
k0stik wants to merge 14 commits into
mainfrom
chore/SOF-7926

Conversation

@k0stik

@k0stik k0stik commented Jun 2, 2026

Copy link
Copy Markdown
Member

No description provided.

k0stik and others added 11 commits June 3, 2026 01:13
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Keep default schema type when constructing entities from object literals, and generate InMemoryEntity<Mixin> aliases for schema mixins.

Co-authored-by: Cursor <cursoragent@cursor.com>
Allow schema-generic subclasses (e.g. web-app CoreEntitySet) to merge set mixins without conflicting InMemoryEntity<_json> types.

Co-authored-by: Cursor <cursoragent@cursor.com>
Workflows are not slugified, so getAsEntityReference should only require _id.

Co-authored-by: Cursor <cursoragent@cursor.com>
JSON.stringify calls toJSON(propertyName); treating that string as an
omit list stripped fields like owner when serializing systemTeams.owner.

Co-authored-by: Cursor <cursoragent@cursor.com>
k0stik and others added 3 commits August 11, 2026 01:15
Introduce a standalone AJV validator class (distinct from esse
validateAndClean) that strips null/empty strings, enforces
additionalProperties allowlists, and maps errors to LIVR codes.

Co-authored-by: Cursor <cursoragent@cursor.com>
Keep esse entity clean null-only; application validator still drops "" for
API-style cleaning. Pin esse to the null-only validateAndClean commit.

Co-authored-by: Cursor <cursoragent@cursor.com>
…dator

Constructor options removeNull and removeEmptyStrings (default true) so
callers can keep placeholders when needed; singleton keeps both on.

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants