You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add NamespacePrefix that's used as the class name prefix for generating ObjC models.
* Added preprocessors for nav properties
* Support updating the default base Graph URL via the endpointVersion argument.
* add rule to add containsTarget=true to labelPolicy navigation
* Convert edm.Decimal to number
* Handle CRLF in doc annotations as code comments.
* Updated request builder interfaces to inherit from common interface
* Added IBaseRequestBuilder to consumers of IRequestBuilder.Base
* Applied <auto-generated/> comment tag to all generated c# files.
* Added comments to all complex types class definitions.
* Fix for enum naming for camelcased+underscore scenario (#194)
* Fix duplicate PHP enum name generation
* Add back camelcase-ization to limit the changes.
* Added preprocess rule for new intune navigation (#195)
* Updating EntityRequest.Base.template with code fix for response headers issue (#202)
* Updating template with response headers fix.
* New changes will propagate the fix for having response headers and status codes in request objects when UpdateAsync method is called in entities
* Adding the exception documentation in IEntityRequest.Base
* Refactoring in EntityRequest.Base to include this if includeSendParams == true so that it shows in the async UpdateAsync() method.
* Fixed spacing indentation (#204)
* New changes will propagate the fix for having response headers and status codes in request objects when UpdateAsync method is called in entities
* Adding exception description to documentation
* Adding and refactoring exception documentation
* Adding the exception documentation in IEntityRequest.Base
* Refactoring in EntityRequest.Base to include this if includeSendParams == true so that it shows in the async UpdateAsync() method.
* Space Indentation Fixes
* Fixed bugs for publishing in definitely typed repo (#203)
* Add contains target for new entities. (#205)
It is important to understand that subprocessors are mapped to methods that query the **OdcmModel** and return a set of OData objects. This mapping is maintained in [TemplateProcess.InitializeSubprocessor()](https://github.com/microsoftgraph/MSGraph-SDK-Code-Generator/blob/dev/src/GraphODataTemplateWriter/TemplateProcessor/TemplateProcessor.cs#L54). The language specific mappings exist in the [config directory](https://github.com/microsoftgraph/MSGraph-SDK-Code-Generator/tree/dev/src/GraphODataTemplateWriter/.config). Each OData object returned by the subprocessor is applied to the mapped template which results in a code file output per each OData object.
115
+
116
+
In the above example, the objects in result set of the NavigationCollectionProperty subprocessor will each be applied to the EntityCollectionPage template. Each result will be a code file for each object returned by the NavigationCollectionProperty subprocessor.
Copy file name to clipboardExpand all lines: Templates/CSharp/Base/EntityRequest.Base.template.tt
+55-1Lines changed: 55 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -350,7 +350,9 @@ public void AppendUpdateAsyncHeader(string entityName, string lowerCaseEntityNam
350
350
{
351
351
stringBuilder.Append(Environment.NewLine);
352
352
stringBuilder.Append(" /// <param name=\"cancellationToken\">The <see cref=\"CancellationToken\"/> for the request.</param>");
353
-
}
353
+
stringBuilder.Append(Environment.NewLine);
354
+
stringBuilder.Append(" /// <exception cref=\"ClientException\">Thrown when an object returned in a response is used for updating an object in Microsoft Graph.</exception>");
Copy file name to clipboardExpand all lines: Templates/CSharp/Base/IEntityRequest.Base.template.tt
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -274,6 +274,8 @@ public void AppendUpdateAsyncMethodHeader(string entityName, string lowerCaseEnt
274
274
{
275
275
stringBuilder.Append(Environment.NewLine);
276
276
stringBuilder.Append(" /// <param name=\"cancellationToken\">The <see cref=\"CancellationToken\"/> for the request.</param>");
277
+
stringBuilder.Append(Environment.NewLine);
278
+
stringBuilder.Append(" /// <exception cref=\"ClientException\">Thrown when an object returned in a response is used for updating an object in Microsoft Graph.</exception>");
0 commit comments