You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kie.apache.org by "ljmotta (via GitHub)" <gi...@apache.org> on 2024/05/10 19:42:34 UTC

[I] On the DMN Editor's Boxed Expression Editor, FEEL autocompletion does not suggest the type properties [incubator-kie-issues]

ljmotta opened a new issue, #1192:
URL: https://github.com/apache/incubator-kie-issues/issues/1192

   On a `date and time duration` it should appears the suggestion to access the `days`, `hours`, `minutes` and `seconds` as shown on the FEEL handbook [1]. The same apply for all built-in types.
   
   
   example of duration:
   ![Screenshot 2024-05-10 163518](https://github.com/apache/incubator-kie-issues/assets/24302289/f78dc587-b901-4599-89af-bd7fe7f81888)
   
   
   example of date:
   ![image](https://github.com/apache/incubator-kie-issues/assets/24302289/86f4abd5-56ce-47ca-9bc4-cbca9762dc48)
   
   
   [1] https://kiegroup.github.io/dmn-feel-handbook/#feel-values


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [I] On the DMN Editor's Boxed Expression Editor, FEEL autocompletion does not suggest the type properties - Part 2 of 2 [incubator-kie-issues]

Posted by "thiagoelg (via GitHub)" <gi...@apache.org>.
thiagoelg closed issue #1192: On the DMN Editor's Boxed Expression Editor, FEEL autocompletion does not suggest the type properties - Part 2 of 2
URL: https://github.com/apache/incubator-kie-issues/issues/1192


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [I] On the DMN Editor's Boxed Expression Editor, FEEL autocompletion does not suggest the type properties [incubator-kie-issues]

Posted by "tiagobento (via GitHub)" <gi...@apache.org>.
tiagobento commented on issue #1192:
URL: https://github.com/apache/incubator-kie-issues/issues/1192#issuecomment-2218483297

   This issue is actually really complicated, because we would have to infer the type of an arbitrary expression to know what properties are available. A workaround would be to extract this to a context entry and access it in a explicitly-typed manner, like this:
   
   <img width="587" alt="image" src="https://github.com/apache/incubator-kie-issues/assets/1584568/c710c4c7-ee2a-4281-b4ee-8a0ddfa6f3db">
   
   However, as you can see, this is not working as well. I propose we fix this in two parts:
   1. Make the screenshot above work.
   2. Make the originally reported screenshots work.
   
   cc @danielzhe 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org