1
0
mirror of https://github.com/koloml/furbooru-tagging-assistant.git synced 2025-12-24 07:12:57 +00:00

Added TODO about missing "migration" progress for entities

This commit is contained in:
2025-08-04 13:40:19 +04:00
parent 19ab302b54
commit 48f278ae95

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,