dashjoin / platform

Dashjoin Is an Open Source & Cloud Native Low Code Development and Integration Platform that helps teams deliver applications faster 🚀 Uses a data-driven approach inspired by Linked Data to make use of your existing assets
https://dashjoin.com
GNU Affero General Public License v3.0
89 stars 7 forks source link

Frontend Functions cannot be used in Invoke Methods #353

Closed pgrill79 closed 1 week ago

pgrill79 commented 1 month ago

If i want to use Frontend Functinons in Invoke method this is not possible - only Backend Functions can be used. As we have many actions tables, which need a refresh afterwards we have to type the complete function into the (very small) Field for the action in the action table.

aeberhart commented 3 weeks ago

In principle, there are 3 ways to do this:

aeberhart commented 1 week ago

There are several reasons against allowing browser functions in "invoke" expressions (options 1 and 2). For instance, invoke expressions implicitly define a REST endpoint where a browser function makes no sense.

Once we fix #354, editing the expressions won't be so cumbersome.

Also, you can still call the backend parts and minimize the expression to something like

$navigate($call(...)) or ( $call(); $refresh() )

we might still introduce option 3 at a later stage