-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix generic type validation to support datetimes and non-ASCII string…
…s. (#291) * Throw `ArgumentException` on type mismatches. * Fix and centralize generic type validation. And also document which type is compatible with which `DataType`. * Improve type checking for `FragmentInfo` methods when the type is string. If the generic type is string, we check ourselves that the `DataType` is a string one. This ensures the exception thrown is `ArgumentException` instead of `TileDBException`. The exception message also is more descriptive. * Obsolete the converters between TileDB data types and .NET types. * Use the correct obsoletion code in two cases. The obsoletions in question have not yet shipped. * Validate the data type in a couple more cases. * Suppress obsoletion warning `TILEDB0013` in the `TileDB.CSharp` project.
- Loading branch information
1 parent
7ca45f8
commit e645f63
Showing
18 changed files
with
320 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.