You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue with that approach is that user needs to create seperete named method to for every, even a smallest expression. Even tens of expression can make file hard to maintain. Toolkit targets as best as possible user experience and flexibility that is why, we need to look into that problem.
The solution to above issue is writing expression inline. Inline expression is a feature which would allow users to write simple expressions in place without a need of creating a seperete method. This would allow developer to make a decision which expression it is worth to extract and potentially test and which ones should be kept in line for readability purposes.
Feature would only allow one-line expressions to be possible in line. Multiline expressions will not be touched and will need a seperete method.
Example of inline expression in choose/when policy:
Proposal
Currently any expression needs to be created as a seperete method. Method needs to be used in a place where expression should be included. e.g.
The issue with that approach is that user needs to create seperete named method to for every, even a smallest expression. Even tens of expression can make file hard to maintain. Toolkit targets as best as possible user experience and flexibility that is why, we need to look into that problem.
The solution to above issue is writing expression inline. Inline expression is a feature which would allow users to write simple expressions in place without a need of creating a seperete method. This would allow developer to make a decision which expression it is worth to extract and potentially test and which ones should be kept in line for readability purposes.
Feature would only allow one-line expressions to be possible in line. Multiline expressions will not be touched and will need a seperete method.
Example of inline expression in choose/when policy:
Compiled to
Example with inline expression in policy property:
Compiled to
Component
Compiler
Contact Details
No response
The text was updated successfully, but these errors were encountered: