Skip to content

Got error: recursion limit reached while expanding scope! #4129

Open
@x1a0

Description

@x1a0

After adding many operations, our project started to get this error. We've been bumping the limit from default to 512 and today we hit the limit again - need to bump to 1024 to compile.

Is it a bad practice to increase the limit? To my understanding it's a compile-time issue so the process in run-time should not be affected anyway.

And given how this macro works, it seems make sense that it'd hit the limit as operations become more and more. Just want to confirm that we didn't misuse anything here.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    serverRust server SDK

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions