Skip to content

@graphty/graphty-element / session / QueryValidation

Interface: QueryValidation ​

Defined in: graphty-element/src/catalog/types.ts:973

The result of checking an expression. Validation covers references, not only syntax: an expression that parses perfectly and names a run or an attribute that does not exist matches nothing, silently, which reads exactly like a correct answer of zero.

Properties ​

error? ​

optional error?: object

Defined in: graphty-element/src/catalog/types.ts:975

code ​

code: GraphtyErrorCode

message ​

message: string

position ​

position: number


ok ​

ok: boolean

Defined in: graphty-element/src/catalog/types.ts:974


unresolvedPaths ​

unresolvedPaths: readonly object[]

Defined in: graphty-element/src/catalog/types.ts:976