FlexQuery.NET.Parsers.MiniOData 3.1.1

There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package FlexQuery.NET.Parsers.MiniOData --version 3.1.1
                    
NuGet\Install-Package FlexQuery.NET.Parsers.MiniOData -Version 3.1.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="FlexQuery.NET.Parsers.MiniOData" Version="3.1.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="FlexQuery.NET.Parsers.MiniOData" Version="3.1.1" />
                    
Directory.Packages.props
<PackageReference Include="FlexQuery.NET.Parsers.MiniOData" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add FlexQuery.NET.Parsers.MiniOData --version 3.1.1
                    
#r "nuget: FlexQuery.NET.Parsers.MiniOData, 3.1.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package FlexQuery.NET.Parsers.MiniOData@3.1.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=FlexQuery.NET.Parsers.MiniOData&version=3.1.1
                    
Install as a Cake Addin
#tool nuget:?package=FlexQuery.NET.Parsers.MiniOData&version=3.1.1
                    
Install as a Cake Tool

FlexQuery.NET.Parsers.MiniOData

NuGet Version

Lightweight OData-compatible query syntax parser for FlexQuery.NET.

When to Use This Package

Install this package if you are migrating from OData or need to support existing OData clients. The parser allows OData and native FlexQuery query syntax to coexist on the same endpoint, enabling gradual migration without changing controller code.

Installation

dotnet add package FlexQuery.NET.Parsers.MiniOData

Registration

builder.Services.AddFlexQueryMiniOData();

Quick Start

GET /api/products?$filter=Price gt 50 and Status eq 'Active'&$orderby=Name desc&$top=20&$skip=0

[HttpGet("products")]
public async Task<IActionResult> GetProducts([FromQuery] FlexQueryParameters parameters)
{
    var result = await _context.Products.FlexQueryAsync(parameters, opts =>
    {
        opts.AllowedFields = new HashSet<string> { "Id", "Name", "Price", "Status" };
    });

    return Ok(result);
}

Supported OData Parameters

Parameter Maps To
$filter QueryOptions.Filter
$orderby QueryOptions.Sort
$select QueryOptions.Select
$top Paging.PageSize
$skip Calculated from Paging.Page
$expand QueryOptions.Includes

Features

  • Auto-DetectionMiniODataQueryParser detects OData parameters and parses them automatically
  • No Migration Required — Both OData and native FlexQuery syntax work on the same endpoints
  • Seamless Integration — Register once to enable automatic OData parameter parsing
  • Standalone ParsingODataQueryParameterParser.Parse() for direct OData-to-QueryOptions conversion

Known Limitations

  • The parser implements a subset of the full OData specification — not all OData functions and expressions are supported
  • $expand support is limited to simple navigation property includes
  • $count aggregation semantics differ from OData's $inlinecount

Documentation

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
4.0.0-preview.3 20 7/18/2026
4.0.0-preview.2 36 7/14/2026
4.0.0-preview.1 46 7/12/2026
3.1.1 107 7/4/2026
3.1.0 114 6/26/2026
3.0.6 110 6/24/2026
3.0.5 112 6/24/2026
3.0.4 102 6/23/2026
3.0.3 100 6/23/2026
3.0.2 111 6/22/2026
3.0.1 106 6/22/2026

- fix: implement stability fixes for pipeline ordering, validation, Dapper case-insensitive and filtered includes
- fix: auto-generate ORDER BY for paging without sort, add tests and docs
- fix: resolve code analysis warnings and add XML documentation
- perf: cache IsScalarType results and IncludeBuilder MethodInfo lookups
- refactor: remove old projection engine and simplify caching
- remove yml
- Add Azure deployment workflow
- Add or update the Azure App Service build and deployment workflow config