Skip to content

Commit 1dcbf9b

Browse files
authored
Merge pull request #808 from microsoftgraph/fix/restore-parameter
fix: addition of newUserPrincipalName is a source breaking change
2 parents 28dfd41 + 773dbb1 commit 1dcbf9b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

transforms/csdl/preprocess_csdl.xsl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -663,6 +663,7 @@
663663
<!-- Remove action parameter -->
664664
<!-- This should be a temp fix, tracking: https://github.com/microsoft/OpenAPI.NET.OData/issues/582 -->
665665
<xsl:template match="edm:Schema[@Namespace='microsoft.graph']/edm:Action[@Name='restore']/edm:Parameter[@Name='autoReconcileProxyConflict']"/>
666+
<xsl:template match="edm:Schema[@Namespace='microsoft.graph']/edm:Action[@Name='restore']/edm:Parameter[@Name='newUserPrincipalName']"/>
666667

667668
<!-- Remove action parameter -->
668669
<!-- This should be a temp fix, tracking: https://github.com/microsoft/OpenAPI.NET.OData/issues/582 -->

transforms/csdl/preprocess_csdl_test_input.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -502,6 +502,9 @@
502502
<Parameter Name="autoReconcileProxyConflict" Type="Edm.Boolean">
503503
<Annotation Term="Org.OData.Core.V1.OptionalParameter" />
504504
</Parameter>
505+
<Parameter Name="newUserPrincipalName" Type="Edm.String" Unicode="false">
506+
<Annotation Term="Org.OData.Core.V1.OptionalParameter" />
507+
</Parameter>
505508
<ReturnType Type="graph.directoryObject" />
506509
</Action>
507510
<Action Name="add" IsBound="true">

0 commit comments

Comments
 (0)