Quantcast
Channel: ASPNETWebStack Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 7215

Commented Issue: Avoid including type annotations for heuristically detectable types (From the metadata document) in minimalmetadata mode [738]

$
0
0
When in minimal metadata mode there are some times that the type information is included on the payload even though the type is heuristically inferable from the metadata document.

1) Create a Web API project.
2) Add OData support.
3) Create a model consisting of an entity with a binary property.
4) Create some mock data to return.
4) Check $metadata document to ensure that the binary property is listed in the metadata document.
5) Query for the feed or for a specific entry in minimal metadata mode and see the response.

The BinaryProperty@odata.type annotation shouldn't be there as it's defined on the metadata document.

Comments: commit 8b6e0c95ffc6d323aae628bd9a2af1b61293699c

Viewing all articles
Browse latest Browse all 7215

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>