Skip to content

Conditional Assignment Operations in engine.Eval #815

Answered by anderson-joyle
cchannon asked this question in Q&A
Discussion options

You must be logged in to vote

Power Fx requires explicitly enabling because hosts generally want control of what the expressions can do. A lot of hosts want to explicitly constrain to be trivial "side-effect" free expressions.
Please take a look at the following test cases on how to enable Set function and how Power Fx engine deals with mutation functions.
https://github.com/microsoft/Power-Fx/blob/main/src/tests/Microsoft.PowerFx.Interpreter.Tests/SetFunctionTests.cs

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by cchannon
Comment options

You must be logged in to vote
8 replies
@cchannon
Comment options

@cchannon
Comment options

@anderson-joyle
Comment options

@cchannon
Comment options

@cchannon
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants