File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,10 @@ var requestBody = entityName + method.Name.Substring(method.Name.IndexOf('.') +
1111// will always result in POST calls. The OData spec is explicit in saying that overload methods bound
1212// to other types are explicitly not allowed. Therefore, any overload methods found here are invalid
1313// and violate the spec.
14- System.Diagnostics.Debug.Assert(!method.Overloads.Any(), "Overload actions are not allowed in OData services");
14+ // System.Diagnostics.Debug.Assert(!method.Overloads.Any(), "Overload actions are not allowed in OData services");
15+ // Commenting this out as 12.1.1.1, Action Overload Rules, states "Bound actions support overloading (multiple
16+ // actions having the same name within the same namespace) by binding parameter type. The combination of action
17+ // name and the binding parameter type MUST be unique within a namespace."
1518
1619var attributeStringBuilder = new StringBuilder();
1720attributeStringBuilder.Append("[JsonObject(MemberSerialization = MemberSerialization.OptIn)]");
You can’t perform that action at this time.
0 commit comments