Comments (2)
@caldwell0414 @jspuij any chance you gents could pitch in on figuring this out? The tests are calling the right URLs now, we just need to make sure the processing pipeline is configured properly.
from restier.
First issue is that, for .NET Core, we need to add the ODataBatch middleware. This must be done before calling UseMvc on the api builder.
In RestierBreakdanceTestBase, add builder.UseODataBatching() to line 78, immediately before useMvc:
builder.UseDeveloperExceptionPage();
**builder.UseODataBatching();**
builder.UseMvc(routeBuilder =>
...
The second issue, with the JSON tests, is that in .NET Core we return a slightly different content-type within the individual responses (we omit the odata.stream=true for the non-.NET Core). Not sure why this discrepancy, but both are valid so I made allowances in the test.
The final issue is that we appear to have a race condition with the way we process the changeset, such that some entries are not getting properly processed. I'm working on trying to track that one down.
from restier.
Related Issues (20)
- Using `MaxTop` doesn't change the limit for `Top` HOT 2
- Restier Swagger support for AspNetCore HOT 44
- How to override BaseAddressFactory to replace @odata.context uri? HOT 4
- Restier 1.0 Has Finally Shipped! HOT 5
- MaxTop setting not being considered HOT 1
- Restier pattern for AsNoTracking on get/read HOT 6
- Update Documentation HOT 7
- Help needed to make a custom IQueryExpressionProcessor HOT 4
- Returning empty set?
- RESTIER odatametadata xml is different than ODataContoler / api explorer xml HOT 2
- [2.0] Treat Views as Entities? HOT 1
- Restier Swagger support for AspNetCore : PUT doesn't appears HOT 1
- Replace Non Standard IfMatch Header with Standard If-Match Header HOT 4
- Restier Swagger not applying route prefix HOT 2
- [2.0] Make Operations more magical
- [2.0] Make OData configuration more magical
- [2.0] Make Dependency Injection more magical HOT 1
- feature request: spectral ruleset
- Not support โIf-Matchโ header which is defined in Odata protocol HOT 1
- How to replace the .AddChainedService<T> Method HOT 1
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 restier.