Comments (2)
Can you provide an example of the unintended predicates and unexpected GraphQL response?
from data-api-builder.
Hi Sean, thanks for the fast followup. Greatly appreciated.
Here is the predicate (best attempt with obfuscation to match the above)
WHERE ([table0].[columnB] != @param1 AND [table0].[columnC] = @param2) AND (([table0].[columnA] < @param3) OR ([table0].[columnA] = @param4 AND [table0].[id] > @param5))
ORDER BY [table0].[columnA] DESC, [table0].[id] ASC
FOR JSON PATH, INCLUDE_NULL_VALUES
When supplying a pagination token (i.e. after: someBase64EncodedPagingToken==), it adds the predicate on columnA to assist in paging. However, this paging appears to only return values where columnA is null for ASC sort and non-null values for column A when columnA is DESC.
With no sorting applied, it returns all values (i.e. null and non-null). There are no JOINs on columnA in the GraphQL query issued.
from data-api-builder.
Related Issues (20)
- Add a CLI command to configure GraphQL depth limit in the config file. HOT 2
- [Enhancement]: Introduce `dab configure`
- [Enhancement]: Log file sink
- [Enhancement]: "Complete" to cache HOT 1
- [Bug]: Data Api Builder should be consuming JwtBearerOptions HOT 3
- [Test Bug] Fix GraphQLSupportTypesTestsBase.cs datarows for QueryTypeColumn test. HOT 1
- [Enhancement] : Allow role level query depth limits HOT 1
- UPGRADE ChilliCream HotChocolate to V13
- Add GraphQL depth limit to request time instead at Startup
- [Bug]: Error message 'Could not initialize the engine with the runtime config file: dab-config.json' isn't clear enough HOT 4
- [Enhancement]: Custom Metadata for Entities and Fields.
- Bump Azure.Identity version
- [Bug]: GraphQL query execution fails after dab update HOT 4
- [Bug]: GraphQL Filter input for MSSQL -> DateTimeOffset without offset is assumed current timezone instead of UTC.
- Postgresql database connection with Workload Identity in an AKS deployment HOT 1
- [Enhancement]: Complete our OpenAPI implementation HOT 1
- Update `dab.draft.schema.json` with null support for more properties to pass `dab validate`
- Data api builder JWT authentication not working locally.
- [Bug]: caseInsensitive not working on GraphQL query
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from data-api-builder.