From f56ecda4d396806d39dfc3678586ef209aa14474 Mon Sep 17 00:00:00 2001 From: Subhash Bhushan Date: Tue, 5 Dec 2023 16:46:28 -0800 Subject: [PATCH] Add note on traverse flag in domain user doc --- docs/user/composing-a-domain.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/user/composing-a-domain.rst b/docs/user/composing-a-domain.rst index 2b27bdda..fc98ca23 100644 --- a/docs/user/composing-a-domain.rst +++ b/docs/user/composing-a-domain.rst @@ -48,6 +48,9 @@ inject dependencies into the domain elements. By default, a protean domain is configured to use an in-memory repository. This is useful for testing and prototyping. +If you do not want Protean to traverse the directory structure to discover domain elements, you can pass the +``traverse`` flag as ``False`` to the ``init`` method. + You can optionally pass a config file to the domain before initializing it. Refer to :doc:`config` to understand the different ways to configure the domain. Activating a Domain