Skip to content

Commit

Permalink
add explanation of why we don't want to do certain things
Browse files Browse the repository at this point in the history
  • Loading branch information
alandekok committed Sep 6, 2024
1 parent a09fe87 commit bf20dc6
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions doc/antora/modules/reference/pages/unlang/update.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,18 @@ assign the attributes in place, with a list qualifier.
&request.Filter-Id := "bar"
----

Note that the following conversion is _not_ correct, as it will
overwrite the _entire_ request list. Once the overwrite has been
done, the `request` list will contain only the two attributes being
assigned to it.

[source,unlang]
----
&request := {
&User-Name = "foo"
&Filter-Id = "bar"
}
----
=== Conditionally Over-writing attributes in a list: =

The following example conditionally over-writes the values for two attributes in the
Expand Down

0 comments on commit bf20dc6

Please sign in to comment.