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

Closed Issue: Make ODataActionParameters work in untyped mode. [1384]

$
0
0
Right now, customers in untyped scenarios cannot use ODataActionParameters as the deserializer always tries to deserialize the individual parameters as strongly typed CLR objects instead of IEdmObjects.

The problem here is how to communicate to the deserializer that we are in untyped mode. entities and complex types communicate this through the type of the parameter being deserialized i.e an IEdmObject or a customer entity.

There are two possible solutions,

1) define a new attribute [UnTyped] that can be used to communicate that we are in untyped mode.
2) define a new class TypelessODataActionParameters and switch to untyped mode if the parameter type being deserialized is this.

Viewing all articles
Browse latest Browse all 7215

Trending Articles



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