Lenses flip the script by allowing Lexicon developers to define a schema for transforming a Lexicon from one type to another. I think this could really be game changing because it also dramatically reduces the burden of AppViews to support an infinite number of types.
1
0
2
It could also have a big impact on things like record versioning. By providing a lexicon lens, you could upgrade / downgrade records in a reproducible way.
1
0
3
Lastly, it introduces the idea that a lexicon schema can be “virtual” with no expectation that AppViews producing records create records of that type, but instead agree to publish a lens of their records for that type. This twist on traits has a lot of potential and is worth exploring.
1
0
3