Stack.migrateAll(baseTypeId) silently does nothing if the given baseTypeId doesn't match any known type family:
await stack.migrateAll('com.example.app/noot'); // typo — no error, no migration
This is easy to misuse and hard to debug. The method should validate that baseTypeId matches at least one registered type, and throw a descriptive error if not.
Could also warn (rather than throw) if a matching type family exists but has no pending migrations — i.e. all records are already at the latest version.
Stack.migrateAll(baseTypeId)silently does nothing if the givenbaseTypeIddoesn't match any known type family:This is easy to misuse and hard to debug. The method should validate that
baseTypeIdmatches at least one registered type, and throw a descriptive error if not.Could also warn (rather than throw) if a matching type family exists but has no pending migrations — i.e. all records are already at the latest version.