hofstadter-io / cuetils

CLI and library for diff, patch, and ETL operations on CUE, JSON, and Yaml
BSD 3-Clause "New" or "Revised" License
78 stars 6 forks source link

Type errors between operands #29

Open verdverm opened 2 years ago

verdverm commented 2 years ago

What should we do when we encounter incompatible types while recursing in operators? Well, we should really let the user decide.

do we need an ignore-type-errors to disable attributes? the current flags default to false, so we cannot use those. Do we want three analogous to the enabling type error flags?

What other applications might an @error() attribute have?