« first day  last day (14 days later) » 

12:00 AM
Well, this is not the first time I'm getting confused and frustrated by the way MS implemented stuff
 
Microsoft designed odata so the data retrieval will be common and standard but didn't follow the RFC specs for PATCH....
Do you work with OData?
 
Well, as I said, AFAIK there is no way to do what you want to do, but there is a high chance there might be some trick,,, all I'm confident about is - you can't do it with Delta
Not in my every day job, but yeah I used OData for some side projects
 
To be completely honest, I prefer Microsoft way, but not if it's against the spec
The RFC specs make patch idempotent
I meant, not idempotent
 
I didn't go thru whole RFC spec, but do they have example for type of a request you're trying to make ?
 
Nope, they do not
But I found an example, let me find it, one sec
 
12:05 AM
I'm specifically interested in the way you built request body {op: add, path: "price" ettc... }
 
let me check
 
I knew it won't work, but, just for the sake of saying I tried and it didn't work... :)
 
holy shit
this is cool thing
have you seen this?
 
Let me see
 
12:11 AM
This is caught my eye
The "application/json-patch+json" media type is used to identify such
patch documents
In your original post you have this
Content-type: application/json
 
Right, but I don't think it will change to much from seeing Delta internals...
BTW, how "_changedProperties" is being initialized?
 
Yeah as I said, if Delta supposed to support this content type, I would expect it to have some kind of internal structure, that would parse the request and build this operations (add, replace etc...)
 
Since the constructor only gets Type
 
I didn't dig that deep tbh
 
:)
Well Michael thank you for your time and effort, I learned several new things from you today, but it's 3:AM and I'm in bed with my Nexus 5...
 
12:19 AM
sure, gnite
 
Good night, I'll keep you in the loop if I'll get an official answer from MS, as I plan to ask them those questions.
Again, thank you very much for your time and effort!
Good night
 

« first day  last day (14 days later) »