microsoft / microsoft/Vipr

Enable patching OData GeoSpatial properties in ODataV4TestService

Open
#3 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug core c-sharp writer tracked up-for-grabs
Dominant language
C#
Stars
111
Forks
50
PR merge metrics
No merged PRs in 30d

Description

Issue by piotrpMSFT
Thursday Jan 29, 2015 at 01:46 GMT
Originally opened as https://github.com/Microsoft/vipr-old/issues/84


\vipr\test\ProxyExtensionsUnitTests\Given_An_EntityType_From_Server.cs
When_Updating_GeoSpatial_Primitive_Property_On_Client_Then_That_Property_Must_Be_Updated_On_Server

Using a GeoSpatial property seems to be causing issues with converting the payload into a Delta. This issue, deserialization of GeoJson, is discussed in a few places like http://blogs.microsoft.co.il/applisec/2014/06/03/spatial-support-in-web-api-and-odata/. Unfortunately, it seems that since we are using Delta a custom Json deserializer is not even getting triggered. We need to find a workaround for this issue.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in vipr/test/ProxyExtensionsUnitTests/Given_An_EntityType_From_Server.cs and run When_Updating_GeoSpatial_Primitive_Property_On_Client_Then_That_Property_Must_Be_Updated_On_Server. Trace how the GeoSpatial payload is converted into Delta and why GeoJson deserialization is not reached. Done means the GeoSpatial property can be patched on the client and is updated on the ODataV4TestService server.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
api
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.