Skip to content

Commit

Permalink
add fix to use type in enumerate
Browse files Browse the repository at this point in the history
  • Loading branch information
KieranBond authored and jeremydmiller committed May 8, 2024
1 parent 199bfda commit 62fce1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Marten/Linq/MartenLinqQueryable.cs
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ public IEnumerator<T> GetEnumerator()

IEnumerator IEnumerable.GetEnumerator()
{
return Provider.Execute<IEnumerable>(Expression).GetEnumerator();
return Provider.Execute<IEnumerable<T>>(Expression).GetEnumerator();
}

public Type ElementType => typeof(T);
Expand Down

0 comments on commit 62fce1b

Please sign in to comment.