cesarparra / expression Goto Github PK
View Code? Open in Web Editor NEWEvaluate formulas through Apex code.
Home Page: https://cesarparra.github.io/expression/
License: MIT License
Evaluate formulas through Apex code.
Home Page: https://cesarparra.github.io/expression/
License: MIT License
We want to release the component library as a managed package.
Explore the usage of shadcn/ui for a reusable component library
The Github icon of the documentation site does not link back to the expression URL, but instead to @cesarParra 's Github URL
When hitting the "Validate" button in the playground, it should become disabled while the Expression is being interpreted. This will give better feedback to users that the code is running.
Hi, when we run the same expression against a batch of records in apex, we may use some custom function to make apex callouts to fetch some data. I noticed that the custom function signature is like:
Object run(List<Object>)
, which does not support bulk function invocation. So when we run the expression during the loop of records, we may make one callout for each method invocation. Do we have any more efficient way to handle this? Thanks in advance.
Hi, when I was using list related functions, something got me quite confused.
SUBSTRING
function says that lists start index is 1-based, but AT
function seems to be 0-based. Can you help clarify which is correct? Thank you for your help.
Salesforce is making available the use of custom editors for LWC components in Experience Builder sites. We want to improve the way the components can be configured by taking advantage of this.
For example, instead of configuring the Expression string in a text box, maybe we can expose the Playground IDE
We want to release the core language as a managed package instead of an unlocked package, with the purpose of eventually taking the project through security review.
The EvaluatorTest
file is a catch-all for tests without a place to live. Instead of having that file, let's move the tests in there to better named test classes within the language
directory, which make it easier for tests to be found.
Improve the way LWC component contracts work and are self-documented in the Experience Builder, without having to go to the documentation to search for the correct data structure to be passed.
Maybe using zod?
Update the project to:
Move all of the Component documentation from the README file to the Next.js Github site.
Currently the Playground displays errors when there is an error that occurs while running an Expression. This is displayed as a red squiggly line under the issue. These errors are reset when the user types something different in the editor.
But these should also go away when the Validate button gets hit again, as it is possible that the error does not apply anymore (for a number of reasons: the data in the DB that was causing the issue changed, the user provided a different Record Id context, etc.)
Migrate component library to use Flowbite components
Add a FAVICO with the Expression
logo to the docs.
Create an Invocable Action endpoint that receives a String using the Expression
syntax and returns the evaluated result.
Take into account:
Create a function (RAWQUERY
) that allows someone to pass a straight up SOQL query and get the list of records back.
Hi, I have a scenario that we want to enable admins to configure an expression as a criteria to filter a list of records in apex. With a batch of records, how can we run the expression against each record? If we pass in the record id as the context, then each query will be issued when running the expression and this will exceed the limit. If we pre-fetch the records and pass in the record as the context, we don't know which fields are used in the expression so that we can query. Do you have any suggestions here?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.