IllegalArgumentException when Deleting Class Not in Schema with AutomaticSchemaMigration #1548
Labels
Importance:Workaround
More-information-needed
More information needed from the reporter. The issue will autoclose if no more information is given.
O-Community
SDK-Use:Local
Waiting-For-Reporter
Waiting for more information from the reporter before we can proceed
Problem
When migrating with
AutomaticSchemaMigration
, I get anIllegalArgumentException
because I want to delete theSignature
class, but it's no longer in the schema list because it doesn't make sense to keep it in the schema migration list.I even tried with enumerates and it didn't work.
Here's an example:
Exception
Version
Realm 1.11.1
Solution
I haven't found any other way than to leave the class in the schema migrations, but ideally it would be nice to be able to delete an existing class even if it no longer appears in the current schema migrations.
Alternatives
No response
How important is this improvement for you?
I would like to have it but have a workaround
Feature would mainly be used with
Local Database only
The text was updated successfully, but these errors were encountered: