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

Edited 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.<br /><br />1) Create a Web API project.<br />2) Add OData support.<br />3) Create a model consisting of an entity with a binary property.<br />4) Create some mock data to return.<br />4) Check $metadata document to ensure that the binary property is listed in the metadata document.<br />5) Query for the feed or for a specific entry in minimal metadata mode and see the response.<br /><br />The BinaryProperty@odata.type annotation shouldn't be there as it's defined on the metadata document.<br />

Viewing all articles
Browse latest Browse all 7215

Trending Articles



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