GraphQL.Extension
1.0.0.2
See the version list below for details.
dotnet add package GraphQL.Extension --version 1.0.0.2
NuGet\Install-Package GraphQL.Extension -Version 1.0.0.2
<PackageReference Include="GraphQL.Extension" Version="1.0.0.2" />
paket add GraphQL.Extension --version 1.0.0.2
#r "nuget: GraphQL.Extension, 1.0.0.2"
// Install GraphQL.Extension as a Cake Addin #addin nuget:?package=GraphQL.Extension&version=1.0.0.2 // Install GraphQL.Extension as a Cake Tool #tool nuget:?package=GraphQL.Extension&version=1.0.0.2
/////////////////////////////////////// Pagination and Search Example //////////////////////////////////////////////////////////////////////
"Query" : query($pagination: PaginationInputType, $search: SearchInputType) {order(pagination: $pagination, search: $search) {id, orderDate quantity customerId}} ,"Variables" :{ "pagination" : {"take": 100, "skip": 100, "sorts": [{"fieldName": "created", "direction": "desc"}, {"fieldName": "quantity", "direction": "asc"}]}, "search" : {"filters": [{ "logic": "or", "operation": "eq", "value": 3245, "fieldName": "orderId" }, { "logic": "and", "operation": "inlist", "value": "32,66,87,199", "fieldName": "customerId" }, { "logic": "and", "operation": "gte", "value": 600, "fieldName": "customerId" } ]}}
///////////////////////////////////// List of Operators //////////////////////////////////////////////////////////////////////////////////////////
gte, gt, eq, neq, lte, lt, contains, notcontains, startswith, endswith, inlist, notinlist, notstartswith, notendswith, containsinlist, notcontainsinlist, startswithinlist, endswithinlist, notstartswithinlist, notendswithinlist
Added notstartswith, notendswith, containsinlist, notcontainsinlist, startswithinlist, endswithinlist, notstartswithinlist, notendswithinlist in FilterOperationEnum. These will only be applicable to Strings fields This will allow to use contains, startsWith, and endsWith in list and will translate into as many contains, startswith and/or endswith expressions as many values in the list. E.g. if Not Contains In List is used then the values will be AND together, for exmaple (NOT (fieldName LIKE %value1%) AND (NOT (fieldName LIKE %value2%))). It will be similiar for startwith and endswith E.g. if Contains In List is used then the values will be OR together, for example (fieldName LIKE %value1%) OR (fieldName LIKE %value2%). It will be similiar for startswith and endswith
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. 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 was computed. 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. |
.NET Core | netcoreapp2.1 is compatible. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 is compatible. |
.NET Framework | net45 is compatible. net451 is compatible. net452 is compatible. net46 was computed. net461 was computed. net462 is compatible. net463 was computed. net47 was computed. net471 was computed. net472 is compatible. net48 was computed. net481 was computed. |
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Added notstartswith, notendswith, containsinlist, notcontainsinlist,
startswithinlist,
endswithinlist, notstartswithinlist, notendswithinlist in FilterOperationEnum. These will only be applicable to Strings fields
This will allow to use contains, startsWith, and endsWith in list and will translate into as many contains, startswith and/or endswith expressions as many values in the list.
E.g. if Not Contains In List is used then the values will be AND together, for exmaple (NOT (fieldName LIKE %value1%) AND (NOT (fieldName LIKE %value2%))). It will be similiar for startwith and endswith
E.g. if Contains In List is used then the values will be OR together, for example (fieldName LIKE %value1%) OR (fieldName LIKE %value2%). It will be similiar for startswith and endswith