Skip to content

ExRam.Gremlinq 13.6.0

New In/Out/Both/InE/OutE/BothE overloads with multiple type parameters

ExRam.Gremlinq now supports passing multiple type parameters to In, Out, Both, InE, OutE and BothE traversal steps, removing the need to use Union over multiple single .In/InE/Out/OutE/Both/BothE calls. (#2256, #2259, #2260, #2261)

[!IMPORTANT] Possible compilation errors: If you have created equally-named extension methods for In, Out or Both (or InE/OutE/BothE) that accept 2 generic type parameters - possibly as a shortcut for chaining e.g. .In<…>().OfType<…>() - you may encounter compilation errors after upgrading, because the new built-in overloads will now be preffered over your extensions. In this case, please rename your custom extensions (e.g. to InOfType, OutOfType, BothOfType, InEOfType, OutEOfType, BothEOfType etc.) to resolve the ambiguity. Same goes for any other reasons your code might have extensions with any number of generic parameters that will conflict with the new overloads. Check before updating.

Early detection of unsatisfiable type constraints (#2255)

Gremlinq will now detect empty label sets that arise from unsatisfiable type constraints that would result in unsatisfiable label-sets at query-build time (that is still at runtime) and throw an informative exception. Previously, such queries would silently produce empty results, masking what is almost always a bug in the query or the type model. If you see a new exception after upgrading, it means the query in question was already broken before - it is now being called out explicitly so it can be fixed.

Changes

  • .editorconfig review (#2264) @danielcweber
  • Add copilot-instructions.md. (#2262) @danielcweber
  • Add more InE/OutE overloads to IVertexGremlinQueryBase (#2261) @danielcweber
  • Unify implementations for Both(E), In(E) and Out(E) for types and no types (#2260) @danielcweber
  • Add support for multi-type-parameter InE/OutE/BothE (#2259) @danielcweber
  • Support multiple In/Out/Both type parameters (#2256) @danielcweber
  • Fail early on type mismatches (#2255) @danielcweber
  • Review test type system (#2254) @danielcweber