Comments (7)
Hi @NiBurhe
What is in the answer inside d
?
it is strange, the standard says that the answer for a collection is of the form {..., value: [...]}
How is the backend implemented? What version of OData do you work with? the library is tightly tied to version 4 it is in this version that I use it for my projects.
regards
from angular-odata.
Hi @diegomvh ,
I checked with my colleagues and it is version 2.0
https://www.odata.org/documentation/odata-version-2-0/json-format/
In version 2.0 it is d
In the response header is an entry "dataserviceversion" which says 2.0
Is there a possibility to build in a switch to enable version 2.0 too?
Thanks & Regards
from angular-odata.
After looking the documentation for OData version 2. I think it is possible to implement a processing mechanism for the reported odata versions using the response headers.
I am currently working on refactoring the response process and subsequent data parsing. The idea is to analyze the headers in the response and improve the pre-processing of the data deserailization.
I try to work with the idea of supporting the other versions of odata, at least as far as the shape of the answer is concerned. Likewise, I do not know whether to consider version 2 or 3 of odata as a priority because, as it is not part of my projects, it is unknown to me in many aspects.
Regards
from angular-odata.
Hi, @NiBurhe
I found an api that works with version 2.0 of odata.
https://baas-demo.demo-jp.personium.io/1/index.html
I try to work on it to adapt the library.
It is difficult to find public odata APIs.
Regards
from angular-odata.
Hi @diegomvh ,
sounds good. Many Thanks
from angular-odata.
Fighting with versions
from angular-odata.
The new release incorporates basic support for OData versions 3 and 2.
Thanks for giving a try to the library.
Regards
from angular-odata.
Related Issues (20)
- How to create such an endpoint `api/Student('dany')/Girlfriends` using `angular-odata`? HOT 10
- Query in request body option? HOT 7
- How expensive is creating an oDataServiceFactory. Can it be stored in a singelton? HOT 4
- Updated - Clone? Filter? Select? HOT 6
- '"angular-odata"' has no exported member named 'ODataFunctionOptions'. Did you mean 'ODataEntityOptions'?
- Angular 14 Support? HOT 1
- publish angular 14 update :-)
- Would like library replace single quote in Odata query by default HOT 1
- how to /(S(juqvmnem2qpijynyewk4pld5))/People('russellwhyte')?$expand=Trips($top=2;$skip=1) HOT 2
- "this.options.helper.context is not a function" HOT 1
- how to access all properties in raw json reply HOT 4
- skiptoken of annotations returns wrong result when it include - (hyphen) HOT 1
- No easy way to provide config asynchronously HOT 2
- Custom entity update endpoint address HOT 1
- Broken .exec method since update to 0.121? HOT 2
- Inline annotations support for parsing metadata xml documents?
- Semicolons should be encoded as %3B ? HOT 2
- replacement of OdataEntityService.customCollectionAction in the latest version HOT 1
- How to perform deep filtering HOT 2
- could you please explain why the preferred http method is PUT but not PATCH 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 angular-odata.