Skip to content

SOF-7926: generic InMemoryEntity - #280

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

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

Conversation

@k0stik

@k0stik k0stik commented Jun 22, 2026

Copy link
Copy Markdown
Member

No description provided.

k0stik and others added 13 commits June 23, 2026 00:44
Compose system/hashed via esse c6c4d84b1, wire hashedEntityMixin on Material,
and keep persisted hash in sync after basis/lattice mutations.

Co-authored-by: Cursor <cursoragent@cursor.com>
Keep Material structure-only; persist and refresh hash on MaterialHashed via basis/lattice setters.
Allow web-app Core* subclasses to widen schema via MaterialHashed<S> without redeclaring _json. Pin @mat3ra/code for NoInfer on InMemoryEntity.

Co-authored-by: Cursor <cursoragent@cursor.com>
Rely on InMemoryEntity.toJSON for hash; type defaultMaterialConfig as Schema.

Co-authored-by: Cursor <cursoragent@cursor.com>
Materials often omit basis.constraints (stored as a proto property);
restoring optional constraints and ?? [] avoids fromObjects(undefined).

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.

1 participant