Skip to content

Commit

Permalink
Corrected annotation target from microsoft.graph.entitlementManagemen…
Browse files Browse the repository at this point in the history
…t.accessPackageAssignment to microsoft.graph.entitlementManagement/accessPackageAssignments
  • Loading branch information
Microsoft Graph DevX Tooling authored and Microsoft Graph DevX Tooling committed Sep 11, 2024
1 parent df54521 commit e52eee9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions transforms/csdl/preprocess_csdl.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -1873,9 +1873,9 @@
</xsl:choose>
<!-- Remove Deletability for entitlementManagement/accessPackageAssignments navigation property-->
<xsl:choose>
<xsl:when test="not(edm:Annotations[@Target='microsoft.graph.entitlementManagement.accessPackageAssignment'])">
<xsl:when test="not(edm:Annotations[@Target='microsoft.graph.entitlementManagement/accessPackageAssignments'])">
<xsl:element name="Annotations">
<xsl:attribute name="Target">microsoft.graph.entitlementManagement.accessPackageAssignment</xsl:attribute>
<xsl:attribute name="Target">microsoft.graph.entitlementManagement/accessPackageAssignments</xsl:attribute>
<xsl:call-template name="DeleteRestrictionsTemplate">
<xsl:with-param name="deletable">false</xsl:with-param>
</xsl:call-template>
Expand Down
2 changes: 1 addition & 1 deletion transforms/csdl/preprocess_csdl_test_input.xml
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@
</Record>
</Annotation>
</Annotations>
<Annotations Target="microsoft.graph.entitlementManagement.accessPackageAssignment">
<Annotations Target="microsoft.graph.entitlementManagement/accessPackageAssignments">
<Annotation Term="Org.OData.Capabilities.V1.DeleteRestrictions">
<Record>
<PropertyValue Property="Deletable" Bool="false" />
Expand Down
2 changes: 1 addition & 1 deletion transforms/csdl/preprocess_csdl_test_output.xml
Original file line number Diff line number Diff line change
Expand Up @@ -745,7 +745,7 @@
</Record>
</Annotation>
</Annotations>
<Annotations Target="microsoft.graph.entitlementManagement.accessPackageAssignment" />
<Annotations Target="microsoft.graph.entitlementManagement/accessPackageAssignments" />
<Annotations Target="microsoft.graph.team/photo">
<Annotation Term="Org.OData.Capabilities.V1.InsertRestrictions">
<Record>
Expand Down

0 comments on commit e52eee9

Please sign in to comment.