Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Enable entity tern server to lookup fnParams in entity definit…
…ion to autocomplete function params (#33726) ## Description This PR enables a functionality to autofill params any entity function like a query's run of js object's function. This autofill only has one pre-condition to work and i.e there has to be a property called `!fnParams` for the entity that should autofill. The current use-case is for query module instances to be autofilled with the inputs defined in the modules when they are selected from the autocomplete in any code editor. PR for appsmithorg/appsmith-ee#4281 ## Automation /ok-to-test tags="@tag.All" ### 🔍 Cypress test results <!-- This is an auto-generated comment: Cypress test results --> > [!TIP] > 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉 > Workflow run: <https://github.com/appsmithorg/appsmith/actions/runs/9361159573> > Commit: 4364bd8 > Cypress dashboard url: <a href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=9361159573&attempt=2" target="_blank">Click here!</a> <!-- end of auto-generated comment: Cypress test results --> ## Communication Should the DevRel and Marketing teams inform users about this change? - [ ] Yes - [ ] No <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Improved autocomplete functionality with enhanced completion text generation for functions. - Added a new feature to extract the final object path from a given input string. - **Tests** - Added new test cases to validate Tern server completion functionality, ensuring accurate parameter identification and application. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
- Loading branch information