We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0d0774 commit 777e94dCopy full SHA for 777e94d
src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathProvider.cs
@@ -149,7 +149,7 @@ private void AppendPath(ODataPath path)
149
150
if (kind == ODataPathKind.DollarCount)
151
{
152
- if (_allOperationPaths.FirstOrDefault(p => DollarCountAndOperationPathsSimilar(p, path)) is ODataPath)
+ if (_allOperationPaths.FirstOrDefault(p => DollarCountAndOperationPathsSimilar(p, path)) is not null)
153
154
// Don't add a path for $count if a similar count() function path already exists.
155
return;
0 commit comments