From 381a355ddfafe37730328453a62ee6927cc015cf Mon Sep 17 00:00:00 2001 From: Janne Mareike Koschinski Date: Wed, 22 Mar 2023 12:23:12 +0100 Subject: [PATCH] Add warning to avoid unlimited recursion Co-authored-by: Patrick Cloke --- proposals/3981-relations-recursion.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/proposals/3981-relations-recursion.md b/proposals/3981-relations-recursion.md index 2ffb677b6..2bf409f7a 100644 --- a/proposals/3981-relations-recursion.md +++ b/proposals/3981-relations-recursion.md @@ -26,6 +26,9 @@ It is proposed to add the `recurse` parameter to the `/relations` API. > If this is set to false, it will only return events directly related to the > specified event. > +> It is recommended that at least 3 relations are traversed, implementations +> should be careful to not infinitely recurse. +> > One of: `[true false]`. In order to be backwards compatible the `recurse` parameter must be