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.
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.