SpacetimeDB icon indicating copy to clipboard operation
SpacetimeDB copied to clipboard

Conversion from new ModuleDef -> existing TableSchema

Open kazimuth opened this issue 1 year ago • 0 comments

This will allow using the new ModuleDef validation code wherever we ingest RawModuleDefs and convert them to TableSchema etc in the codebase.

Requires an integration test that the following paths:

old: RawModuleDefV8 -> Vec<TableSchema>
new: RawModuleDefV8 -> RawModuleDefV9 -> ModuleDef -> Result<Vec<TableSchema>>

produce equivalent output (identical results, unless the new path rejects something that the old path accepts).

kazimuth avatar Aug 23 '24 17:08 kazimuth