Closed mbezhanov closed 3 weeks ago
Hello @mbezhanov,
Thank you for your first contribution to Sprout! 🌱 💜
I’ve made a few changes:
src
and name
arguments to allow writing with a pipe.For example:
{{ .struct | hasField "boo" }}
Your proposals have been accepted and will be merged soon. You can start using them with the main branch; the functions will be included in the next release 🎉
Description
Closes #60
Changes
The PR introduces a
hasField
method to thereflect
registry, to address the use case explained in #60.Checklist