felangel / felangel/mason

feat: print warning when lambda cannot be resolved

未关闭
#417 0 条评论 1 个 reaction 已指派 1 人 已被 @felangel 认领 在 GitHub 查看
enhancement
主要语言
Dart
星标
1.1k
派生
113
PR 合并指标
30 天内没有已合并 PR

描述

**Description**

I just mistyped the `snakeCase` build-in lambda by using `{{variable.snake_case()}}` instead of `{{variable.snakeCase()}}` causing the output of the lambda to be just an empty string.

This was obviously my mistake, but I think it would be great if the tool prints at least a warning that the used lambda could not be resolved. This makes building bricks and searching for errors easier.

**Requirements**

- detect unresolvable lambdas
- print an error messge

**Additional Context**

Let me know if you need additional information.

Thanks for the great tool 🧱. It's so easy to do code generation 👍🏻

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。