Expand description
Check that the visible type of each query has not been changed
Macros§
- type_
error 🔒 - Detailed type error logging as a warning, with failures in CI and a logged error in production
Structs§
- Type
Error Humanizer - Wrapper struct for a
Display
instance forTypeError
s with a givenExprHumanizer
- Typecheck
- Check that the visible type of each query has not been changed
Enums§
- Column
Type Difference - Characterizes differences between individual column types
- Relation
Type Difference - Characterizes differences between relation types
- Type
Error - The possible forms of inconsistency/errors discovered during typechecking.
Functions§
- column_
subtype_ difference - Returns a list of differences that make
sub
not a subtype ofsup
- columns_
pretty - Prints a type prettily with a given
ExprHumanizer
- empty_
context - Generates an empty context
- is_
subtype_ of - Returns true when it is safe to treat a
sub
row as ansup
row - relation_
subtype_ difference - Returns a list of differences that make
sub
not a subtype ofsup
- scalar_
subtype_ difference - Returns a list of differences that make
sub
not a subtype ofsup
Type Aliases§
- Context 🔒
- Shared
Context - Typechecking contexts as shared by various typechecking passes.