felangel / felangel/mason

feat: print warning when lambda cannot be resolved

Open
#417 0 comments 1 reaction 1 assignee Claimed by @felangel View on GitHub
enhancement
Dominant language
Dart
Stars
1.1k
Forks
113
PR merge metrics
No merged PRs in 30d

Description

**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 👍🏻

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.