Open bernardnormier opened 6 years ago
While adding metadata validation to Slice to Swift compiler, noticed that Slice::Dictionary API doesn't allow to remove bogus metadata.
This will be desirable to be able to sanitize the dictionary metadata like we do for other constructs.
I think we should come up with some kind of generic metadata validator that we can use everywhere, currently we are creating metadata visitors with each Slice compiler, but we don't have a consistent way to do the metada validation.
There is currently not enough metadata validation in the Slice compilers.