diff --git a/CHANGELOG.md b/CHANGELOG.md index d0a4527..a8663b0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,10 @@ _None_ - Made the `Template.render(_:)` method (that accepts a `Context`) public. [David Jennes](https://github.com/djbe) [#322](https://github.com/stencilproject/Stencil/pull/322) +- Enable dynamic member lookup using a new `DynamicMemberLookup` protocol. Conform your own types to this protocol to support dynamic member from with contexts. + [Ilya Puchka](https://github.com/ilyapuchka) + [#219](https://github.com/stencilproject/Stencil/issues/219) + [#246](https://github.com/stencilproject/Stencil/pull/246) ### Deprecations diff --git a/docs/templates.rst b/docs/templates.rst index 7094ae6..4708328 100644 --- a/docs/templates.rst +++ b/docs/templates.rst @@ -22,6 +22,7 @@ following lookup: - Dictionary lookup - Array and string lookup (first, last, count, by index) - Key value coding lookup +- @dynamicMemberLookup when conforming to our `DynamicMemberLookup` marker protocol - Type introspection (via ``Mirror``) For example, if `people` was an array: