This list contains things that have to be done but will create breaking changes.
https://discord.com/channels/969553741705539624/1237000453791678487/threads/1327921349808885831
This should be done similar to where indexes or encryption
fields are defined. This would
then allow to have final
be also set for nested properties.
See #6787
In the RxJsonSchema, a property of a document can have multiple types like
{
type?: JsonSchemaTypes | JsonSchemaTypes[];
}
This is bad and should not be used. Instead each field must have exactly one type.
Having mixed types causes many confusion, for example when the type is ['string', 'number']
,
you could run a query selector like $gt: 10
where it now is not clear if the string foobar
is matching or not.
- Also rename the key-compression plugin to be just called 'compression'
Having an .info() method helps in debugging stuff and sending reports on problems etc.
Most "normal" users do not need premium access so we should name it "RxDB Enterprise" to make it more clear that it is intended to bought by companies.
- Migration strategies should be defined like in WatermelonDB with a
toVersion
version field. We should also add afromVersion
field so people could implement performance shortcuts by directly jumping several versions. The current migration strategies use the array index astoVersion
which is confusing.