=doc 18878 Document gotcha about missing tilde

This commit is contained in:
Johan Andrén 2015-11-09 16:21:04 +01:00
parent 6a22cdebfc
commit c6500aec7f

View file

@ -138,6 +138,9 @@ transformations, both (or either) on the request and on the response side.
Composing Directives
--------------------
.. note:: Gotcha: forgetting the ``~`` (tilde) character in between directives can often result in perfectly valid
Scala code that compiles but lead to your composed directive only containing the up to where ``~`` is missing.
As you have seen from the examples presented so far the "normal" way of composing directives is nesting.
Let's take a look at this concrete example: