Skip to content

@codama/errors@1.10.2

Choose a tag to compare

@codama-releases codama-releases released this 19 Aug 14:16
· 2 commits to main since this release
34a299b

Patch Changes

  • #1081 21c278c Thanks @lorisleiva! - Correct error context types that could never match their runtime values, surfaced by type-aware linting: validation items and their node paths are now readonly, and the CODAMA_ERROR__VISITORS__INVALID_INSTRUCTION_DEFAULT_VALUE_DEPENDENCY context types its dependency as the dangling AccountValueNode | ArgumentValueNode reference it actually receives. The CODAMA_ERROR__ENUM_VARIANT_NOT_FOUND context now carries the resolved enum type node instead of the defined type link, and account-field-not-found errors normalise the missing field name to camel case.
  • Updated dependencies []:
    • @codama/node-types@1.10.2