data-weave-intellij-plugin icon indicating copy to clipboard operation
data-weave-intellij-plugin copied to clipboard

Unable to resolve reference of Mule::lookup.

Open javaduke opened this issue 6 years ago • 2 comments

The Preview doesn't work if mapping contains Mule::lookup function calls. There should be a way to mock the response of Mule::lookup in the scenario.

javaduke avatar May 03 '19 18:05 javaduke

@machaval Screen Shot 2019-05-15 at 6 18 12 AM This is really annoying, if there's Mule::lookup in the mapping, it marks the entire code as red and shows this huge popup. Is there any way to disable this? Perhaps there can be some kind of setting, e.g. in preview instead of lookup there could be some hardcoded value?

javaduke avatar May 15 '19 13:05 javaduke

Agree for now you can add in your src/test/resources a module called Mule. With a lookup implementation that you want to use

machaval avatar Aug 06 '19 12:08 machaval