TerminusDB 11.1.9 lets you write GraphQL path patterns with whitespace, so a long pattern stays readable. It was released on 15 November 2023.
Write readable path patterns
What it does
The path argument of a GraphQL path query now accepts spaces and newlines. A pattern like (friend, knows){1,3} can be written with breathing room instead of as one run-on token.
query {
People {
_path_to_People(path: "( film , <film ){1,2}") { label }
}
}Why it matters
Writing codes that humans understand makes them easier to maintain and debug. In an AI age, this will be less of a challenge, but when debugging together with the machine, having humans and machine read the same thing efficiently is important.
Read more: Path queries in GraphQL · Path query syntax
Fixes
- Query-cost reordering got fixes, following the modality work in 11.1.8.
Upgrade
docker pull terminusdb/terminusdb-server:v11.1.9No data migration is needed. Docker install guide · GitHub release
Previous: TerminusDB 11.1.8 · Next: TerminusDB 11.1.10 · TerminusDB 11.1 changelog · Release index