DataWeave Custom Functions: The Module Trap That Wastes Hours
TL;DR
Your fun declaration works inline but breaks with "Unable to resolve reference" when moved to a .dwl module
Module files cannot contain output or --- — delete those lines and it works
The error message lies — it says "resolve reference" not "i...
thasha.hashnode.dev4 min read