Added Schema::match() with strict/evolving matchers
Fixed
Changed
Removed
Deprecated
Security
Description
This is an introduction to a potential schema evolution feature. Schema evolution is a process where by writing more data to dataset we are making sure that reading from it is still safe to the clients.
The base assumptions are following:
we can safely add new entries
we can safely make non nullable entries, nullable
we can safely keep schema the same
however if we:
remove a field
make a nullable field non nullable
change field type
we can impact our dataset clients.
Using Schema::matches($schema, schema_evolving_matcher()): bool should prevent us from making an BC breaks in our datasets.
Change Log
Added
Fixed
Changed
Removed
Deprecated
Security
Description
This is an introduction to a potential schema evolution feature. Schema evolution is a process where by writing more data to dataset we are making sure that reading from it is still safe to the clients. The base assumptions are following:
however if we:
we can impact our dataset clients.
Using
Schema::matches($schema, schema_evolving_matcher()): bool
should prevent us from making an BC breaks in our datasets.