Skip to content

Commit 635ef27

Browse files
DOC-14229 Views deprecation
Added deprecation notice for SDK views and clarified staleness mapping.
1 parent 8b475c5 commit 635ef27

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

modules/project-docs/pages/migrating-sdk-code-to-3.n.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
= Migrating to SDK 3 API
22
:description: The 3.0 API breaks the existing 2.0 APIs in order to provide a number of improvements. \
33
Collections and Scopes are introduced.
4+
:page-toclevels: 2
45
:page-topic-type: concept
56
:page-aliases: ROOT:migrate
67

@@ -776,6 +777,10 @@ if (!result.MetaData.Errors.Any()) {
776777

777778
=== Views
778779

780+
// deprecation admonition
781+
include::{version-common}@sdk:shared:partial$views.adoc[tag=deprecate-sdk]
782+
783+
779784
Views have stayed at the `Bucket` level, because it does not have the concept of collections and is scoped at the bucket level on the server as well.
780785
The API has stayed mostly the same, the most important change is that `staleness` is unified under the `ViewConsistency` enum.
781786

0 commit comments

Comments
 (0)