Add warning to avoid unlimited recursion

Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>
justjanne/3981-relations-recursion
Janne Mareike Koschinski 2 years ago committed by GitHub
parent 4f61e4389e
commit 381a355ddf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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 > If this is set to false, it will only return events directly related to the
> specified event. > specified event.
> >
> It is recommended that at least 3 relations are traversed, implementations
> should be careful to not infinitely recurse.
>
> One of: `[true false]`. > One of: `[true false]`.
In order to be backwards compatible the `recurse` parameter must be In order to be backwards compatible the `recurse` parameter must be

Loading…
Cancel
Save