Skip to content
All changes

Fix

An include of a name that is not a relation is a validation error

@venizia/ignis-connectors, @venizia/ignis

Changelog - 2026-11-06 ​

An include of a name that is not a relation is a validation error ​

Bug Fix

In one line. include: ['constructor'] found an inherited function where a relation was expected and failed later as an internal error. It is a 400 Relation NOT FOUND now.

What changed ​

  • Own relations only. A relation name is looked up on the declared relations, not on the object's prototype. constructor, toString, __proto__ and similar names are not relations.
  • Malformed entries. A relation name that is not a non-empty string (["zzz"], 42) or an entry that is null answers 400 Invalid include format instead of a TypeError (500).
  • Escaped echo. The not-found message writes the name through the same escaping the column messages use: one line, control characters as \uXXXX.

Who is affected ​

Nobody needs to act. A request that used such a name was failing already, with a worse error.

Details ​

FilePackage
src/relational/core/repositories/dialect/filter.tsconnectors