Skip to content

Commit 5f19e50

Browse files
committed
Clarify link readonly and deletion policies
Clarify how readonly and deletion policies interact with links, as this was not explicitly detailed before. Specifying `on target delete allow` will change the set of links to no longer include a link to the deleted object.
1 parent 1a06087 commit 5f19e50

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

docs/reference/datamodel/links.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -855,9 +855,7 @@ The valid SDL sub-declarations are listed below:
855855
The expression must be :ref:`Stable <ref_reference_volatility>`.
856856

857857
:eql:synopsis:`readonly := {true | false}`
858-
If ``true``, the link is considered *read-only*. Modifications
859-
of this link are prohibited once an object is created. All of the
860-
derived links **must** preserve the original *read-only* value.
858+
If ``true``, the link is considered *read-only*. Modifications of this link using ``update`` are prohibited once an object is created. All of the derived links **must** preserve the original *read-only* value. Changes to this link **can** occur if a link is deleted and the appropriate deletion policy allows it.
861859

862860
:sdl:synopsis:`<annotation-declarations>`
863861
Set link :ref:`annotation <ref_eql_sdl_annotations>`

0 commit comments

Comments
 (0)