# Feedback for a flow

**URL:** <https://discourse.nodered.org/t/feedback-for-a-flow/93653>\
**Category:** General\
**Created:** [3 December 2024 07:25 UTC](https://discourse.nodered.org/t/feedback-for-a-flow/93653 "2024-12-03T07:25:14Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [3 December 2024 17:01 UTC](https://discourse.nodered.org/t/feedback-for-a-flow/93653/8 "2024-12-03T17:01:50Z")

</div>

> [@gregorius](#):
>
> But also jsonata expressions: `msg.shelly&'relay/0?turn=on'` could become `msg.shelly & 'relay/0?turn=on'` to improve readability.

I would suggest not using `msg.` as that forces compatibility mode. Either omit msg or use `$$.`

> [@TotallyInformation](#):
>
> In terms of function nodes vs JSONata - just note that, for high throughput, function nodes are sometimes preferred since JSONata has quite an overhead.

Version 1.6 did , but newer version 2 is comparable with javascript using the JSONata functions as exampled here [JSONATA Array Filtering - #4 by E1cid](https://discourse.nodered.org/t/jsonata-array-filtering/92640/4)

---

_[View the full topic](https://discourse.nodered.org/t/feedback-for-a-flow/93653)._
