diff --git a/source/includes/note-java-and-realmany.rst b/source/includes/note-java-and-realmany.rst new file mode 100644 index 0000000000..e52f65a38b --- /dev/null +++ b/source/includes/note-java-and-realmany.rst @@ -0,0 +1,5 @@ +.. note:: New apps cannot use ``RealmAny`` + + New :atlas:`App Services Apps ` + will not be able to synchronize data models with properties of type + ``RealmAny``. diff --git a/source/sdk/java/install.txt b/source/sdk/java/install.txt index 3af055b892..a25a243114 100644 --- a/source/sdk/java/install.txt +++ b/source/sdk/java/install.txt @@ -12,6 +12,8 @@ Install Realm - Java SDK .. include:: /includes/note-java-maintenance-mode.rst +.. include:: /includes/note-java-and-realmany.rst + Overview -------- diff --git a/source/sdk/java/model-data.txt b/source/sdk/java/model-data.txt index e1d724b023..f8607ae6c7 100644 --- a/source/sdk/java/model-data.txt +++ b/source/sdk/java/model-data.txt @@ -16,6 +16,8 @@ Model Data - Java SDK :depth: 2 :class: singlecol +.. include:: /includes/note-java-and-realmany.rst + .. _java-object-models-and-schemas: .. _java-schema-versions-and-migrations: diff --git a/source/sdk/java/model-data/data-types/realmany.txt b/source/sdk/java/model-data/data-types/realmany.txt index 0a3df1a0e6..7deefbce31 100644 --- a/source/sdk/java/model-data/data-types/realmany.txt +++ b/source/sdk/java/model-data/data-types/realmany.txt @@ -13,6 +13,8 @@ RealmAny - Java SDK .. versionadded:: 10.6.0 +.. include:: /includes/note-java-and-realmany.rst + You can use the :java-sdk:`RealmAny ` data type to create Realm object fields that can contain any of several underlying types. You can store multiple ``RealmAny`` instances in diff --git a/source/sdk/java/sync/configure-and-open-a-synced-realm.txt b/source/sdk/java/sync/configure-and-open-a-synced-realm.txt index ce3965386e..ddf3c80349 100644 --- a/source/sdk/java/sync/configure-and-open-a-synced-realm.txt +++ b/source/sdk/java/sync/configure-and-open-a-synced-realm.txt @@ -10,6 +10,8 @@ Configure a Synced Realm - Java SDK :depth: 2 :class: singlecol +.. include:: /includes/note-java-and-realmany.rst + Prerequisites -------------