Skip to content

Commit 087f3e2

Browse files
knethlindseymoore
andauthored
Realm Java cannot use RealmAny in new apps (#3274)
## Pull Request Info - SDK Docs Consolidation Jira ticket: https://jira.mongodb.org/browse/DOCSP-39924 *Staged Page* - [PAGE_NAME](https://docs-mongodbcom-staging.corp.mongodb.com/realm/docsworker-xlarge/BRANCH_NAME/) *Page Source* Add links to every SDK's pages where you got the SDK-specific information: - [PAGE_NAME](https://www.mongodb.com/docs/atlas/device-sdks/LIVE-DOCS-LINK) ### PR Author Checklist Before requesting a review for your PR, please check these items: - [ ] Open the PR against the `feature-consolidated-sdk-docs` branch instead of `master` - [ ] Tag the consolidated page for: - genre - meta.keywords - meta.description #### Naming - [ ] Update Realm naming and the language around persistence layer/local/device per [this document](https://docs.google.com/document/d/126OczVxBWAwZ4P5ZsSM29WI3REvONEr1ald-mAwPtyQ/edit?usp=sharing) - [ ] Include `.rst` files comply with [the naming guidelines](https://docs.google.com/document/d/1h8cr66zoEVeXytVfvDxlCSsUS5IZwvUQvfSCEXNMpek/edit#heading=h.ulh8b5f2hu9) #### Links and Refs - [ ] Create new consolidated SDK ref targets starting with "_sdks-" for relevant sections - [ ] Remove or update any SDK-specific refs to use the new consolidated SDK ref targets - [ ] [Update any Kotlin API links](https://jira.mongodb.org/browse/DOCSP-32519) to use the new Kotlin SDK roles #### Content - [ ] Shared code boxes have snippets or placeholders for all 9 languages - [ ] API description sections have API details or a generic placeholder for all 9 languages - [ ] Check related pages for relevant content to include - [ ] Create a ticket for missing examples in each relevant SDK: Consolidation Gaps epic ### Reviewer Checklist As a reviewer, please check these items: - [ ] Shared code example boxes contain language-specific snippets or placeholders for every language - [ ] API reference details contain working API reference links or generic content - [ ] Realm naming/language has been updated - [ ] All relevant content from individual SDK pages is present on the consolidated page --------- Co-authored-by: lindseymoore <71525840+lindseymoore@users.noreply.github.com>
1 parent 6fea054 commit 087f3e2

File tree

5 files changed

+13
-0
lines changed

5 files changed

+13
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
.. note:: New apps cannot use ``RealmAny``
2+
3+
New :atlas:`App Services Apps </app-services/apps/>`
4+
will not be able to synchronize data models with properties of type
5+
``RealmAny``.

source/sdk/java/install.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ Install Realm - Java SDK
1212

1313
.. include:: /includes/note-java-maintenance-mode.rst
1414

15+
.. include:: /includes/note-java-and-realmany.rst
16+
1517
Overview
1618
--------
1719

source/sdk/java/model-data.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ Model Data - Java SDK
1616
:depth: 2
1717
:class: singlecol
1818

19+
.. include:: /includes/note-java-and-realmany.rst
20+
1921
.. _java-object-models-and-schemas:
2022
.. _java-schema-versions-and-migrations:
2123

source/sdk/java/model-data/data-types/realmany.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ RealmAny - Java SDK
1313

1414
.. versionadded:: 10.6.0
1515

16+
.. include:: /includes/note-java-and-realmany.rst
17+
1618
You can use the :java-sdk:`RealmAny <io/realm/RealmAny.html>` data type to create
1719
Realm object fields that can contain any of several
1820
underlying types. You can store multiple ``RealmAny`` instances in

source/sdk/java/sync/configure-and-open-a-synced-realm.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ Configure a Synced Realm - Java SDK
1010
:depth: 2
1111
:class: singlecol
1212

13+
.. include:: /includes/note-java-and-realmany.rst
14+
1315
Prerequisites
1416
-------------
1517

0 commit comments

Comments
 (0)