Skip to content

Commit 4923346

Browse files
authored
(DOCSP-12694): Add "tip" to look at SDKs and Schemas page in the Realm UI to connect client models sections (#535)
* added note to tutorials about Realm objects * fixed wording * added tip to web tutorial * fixed spacing in link
1 parent 74f163e commit 4923346

File tree

5 files changed

+26
-1
lines changed

5 files changed

+26
-1
lines changed

source/includes/steps-tutorial-android-kotlin.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,11 @@ content: |
248248
projects in the ``User`` object. Tasktracker stores each ``User``
249249
object in a special :ref:`{+realm+} <partitioning>` with a value of
250250
the following format: ``user=<user-id>``.
251+
252+
.. note::
253+
254+
To learn more about how {+service-short+} Object models are used in Android applications,
255+
see :doc:`Realm Objects </android/objects>` in our Android client guide.
251256
252257
To access the user's list of projects, we need to open a connection to
253258
that {+realm+} and access the ``User`` object. To get started, open

source/includes/steps-tutorial-ios-swift.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,11 @@ content: |
100100
.. literalinclude:: /tutorial/generated/code/final/Models.codeblock.user-model.swift
101101
:language: swift
102102
103+
.. note::
104+
105+
To learn more about how {+service-short+} Object models are used in iOS applications,
106+
see :doc:`Realm Objects</ios/objects>` in our iOS client guide.
107+
103108
Next, implement the Project embedded object that represents a Project that a
104109
User is a member of:
105110

source/includes/steps-tutorial-react-native.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,11 @@ content: |
171171
member of. We have set up our app so that the custom user data object exists
172172
in a specific realm, where at most one user object exists.
173173
174+
.. note::
175+
176+
To learn more about how {+service-short+} Object models are used in React Native applications,
177+
see :doc:`Realm Objects </react-native/objects>` in our React Native client guide.
178+
174179
Open the realm for that user with the partition key value following the
175180
pattern ``user=<USER_ID>``.
176181

source/tutorial/nodejs-cli.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,11 @@ In ``projects.js``:
276276
.. literalinclude:: /tutorial/generated/code/final/projects.codeblock.getProjects.js
277277
:language: javascript
278278

279+
.. note::
280+
281+
To learn more about how {+service-short+} Object models are used in Node.js applications,
282+
see :doc:`Realm Objects </node/objects>` in our Node.js client guide.
283+
279284
F. Use Realm Functions
280285
----------------------
281286

source/tutorial/web-graphql.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,10 +257,15 @@ connect to your app's GraphQL API.
257257
F. Implement the Projects List
258258
------------------------------
259259

260-
As defined by our data model, ``projects`` are an embedded object of the ``users`` object.
260+
As defined by our data model, ``projects`` are an :term:`embedded object` of the ``users`` object.
261261
Therefore, if we want to retrieve a list of projects, we'll have to access the :ref:`user custom
262262
data object </users/enable-custom-user-data>`.
263263

264+
.. note::
265+
266+
To learn more about how {+service-short+} Object models are used in Node.js applications,
267+
see :doc:`Realm Objects </node/objects>` in our Node.js client guide.
268+
264269
In the file ``/graphql/useProjects.js``, we need to implement the retrieval of the
265270
current user's projects. We'll need to add the following code:
266271

0 commit comments

Comments
 (0)