Skip to content

Commit

Permalink
Typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
danielcweber committed Jan 13, 2021
1 parent 7605376 commit c498fda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ExRam.Gremlinq.Core/Queries/GremlinQueryBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,15 @@ protected TTargetQuery ChangeQueryType<TTargetQuery>(bool eraseSemantics = true)
var elementType = GetMatchingType(closureType, "TElement", "TVertex", "TEdge", "TProperty", "TArray") ?? typeof(object);
var outVertexType = GetMatchingType(closureType, "TOutVertex", "TAdjacentVertex");
var inVertexType = GetMatchingType(closureType, "TInVertex");
var sclarType = GetMatchingType(closureType, "TValue", "TArrayItem");
var scalarType = GetMatchingType(closureType, "TValue", "TArrayItem");
var metaType = GetMatchingType(closureType, "TMeta");
var queryType = GetMatchingType(closureType, "TOriginalQuery");

var genericType = typeof(GremlinQuery<,,,,,>).MakeGenericType(
elementType,
outVertexType ?? typeof(object),
inVertexType ?? typeof(object),
sclarType ?? (elementType.IsArray
scalarType ?? (elementType.IsArray
? elementType.GetElementType()!
: typeof(object)),
metaType ?? typeof(object),
Expand Down

0 comments on commit c498fda

Please sign in to comment.