Added TODO about missing "migration" progress for entities

This commit is contained in:
koloml committed 2025-08-04 13:40:19 +04:00
1 parent 19ab302b54
commit 48f278ae95
1 file changed
+2
+2
View File
@@ -37,6 +37,8 @@ export default class EntitiesTransporter<EntityType> {
}
importFromObject(importedObject: Record<string, any>): EntityType {
// TODO: There should be an auto-upgrader somewhere before the validation. So if even the older version of schema
// was used, we still will will be able to pass the validation. For now we only have non-breaking changes.
validateImportedEntity(
this.#entityName,
importedObject,