felangel / felangel/mason

feat: print warning when lambda cannot be resolved

Aperta
#417 0 commenti 1 reazione 1 assegnatario Rivendicata da @felangel Vedi su GitHub
enhancement
Lingua principale
Dart
Stelle
1.1k
Fork
113
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.