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
Displayinstance forTypeErrors with a givenExprHumanizer - Typecheck
- Check that the visible type of each query has not been changed
Enums§
- SqlColumn
Type Difference - Characterizes differences between individual column types
- SqlRelation
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
subnot 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
subrow as ansuprow - relation_
subtype_ difference - Returns a list of differences that make
subnot a subtype ofsup - scalar_
subtype_ difference - Returns a list of differences that make
subnot a subtype ofsup
Type Aliases§
- Context 🔒
- Shared
Context - Typechecking contexts as shared by various typechecking passes.