Skip to content

Commit 63d7201

Browse files
authored
removed ags attributes
1 parent 729c96b commit 63d7201

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

graph/patterns/viewpoint.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ This pattern simplifies the API client logic by hiding the state transition deta
2020
- Sometimes, the viewpoint can be computed on the server. In this case, an API producer should add OData annotations to the property to provide more information for downstream tools, such as SDKs and documentation generation.
2121
```
2222
<Annotations Target="microsoft.graph.approvalItem/viewPoint">
23-
<Annotation Term="Org.OData.Core.V1.Computed" Bool="true" ags:OwnerService="Microsoft.Approvals" />
23+
<Annotation Term="Org.OData.Core.V1.Computed" Bool="true" />
2424
</Annotations>
2525
```
2626
- An alternative to this design would be to store the user state on the client side. However, this may be problematic in some cases, because of the many devices that a user may have and the need to synchronize the state across them.
@@ -31,12 +31,12 @@ This pattern simplifies the API client logic by hiding the state transition deta
3131

3232
The following example demonstrates how to define the 'viewpoint' property for the `chat` entity, where a chat is a collection of chatMessages between one or more participants:
3333
```
34-
<ComplexType Name="chatViewpoint" ags:WorkloadIds="Microsoft.Teams.GraphSvc">
34+
<ComplexType Name="chatViewpoint" >
3535
<Property Name="isHidden" Type="Edm.Boolean" />
3636
<Property Name="lastMessageReadDateTime" Type="Edm.DateTimeOffset" />
3737
</ComplexType>
3838
39-
<EntityType Name="chat" BaseType="graph.entity" ags:OwnerService="Microsoft.Teams.GraphSvc">
39+
<EntityType Name="chat" BaseType="graph.entity" >
4040
<Property Name="chatType" Type="graph.chatType" Nullable="false" />
4141
<Property Name="createdDateTime" Type="Edm.DateTimeOffset" />
4242
<Property Name="lastUpdatedDateTime" Type="Edm.DateTimeOffset" />

0 commit comments

Comments
 (0)