typedb-loader icon indicating copy to clipboard operation
typedb-loader copied to clipboard

Generators can't validate query with updated TypeQL version

Open dmitrii-ubskii opened this issue 3 years ago • 0 comments
trafficstars

It appears that as the TypeDB Java client is updated, and the TypeQL version has changed, the string representation of a query changed. There are places where the generators look for a substring in the query (e.g. RelationGenerator.java:104) that can no longer appear. The loader ends up just ignoring the data with a generated query like

insert
$null isa null,
    has null "null";

dmitrii-ubskii avatar May 10 '22 15:05 dmitrii-ubskii