Skip to content

[Bug]: JSEditor doesn't support recursive functions #9806

@Nikhil-Nandagopal

Description

@Nikhil-Nandagopal

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

A user reported that they got a cyclic dependency while creating a recursive function in the JS Editor

Steps To Reproduce

  1. Create a JS Object
  2. Create a function and try to recursively invoke it.
  3. See a cyclic dependency

Environment

Production

Version

Cloud

Metadata

Metadata

Labels

BugSomething isn't workingHighThis issue blocks a user from building or impacts a lot of usersJS ObjectsIssues related to JS ObjectsJavascript ProductIssues related to users writing javascript in appsmithProductionQuery & JS PodIssues related to the query & JS PodQuery Widgets & IDE PodAll issues related to Query, JS, Eval, Widgets & IDE

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions