Website icon indicating copy to clipboard operation
Website copied to clipboard

Documentation on ToLookup is inaccurate

Open alanta opened this issue 3 years ago • 0 comments

I was looking at this section: https://statiq.dev/framework/documents/accessing-metadata#metadata-lookup

The description is not entirely accurate. It gives the impression that ToLookup picks up multiple values in the meta data, but after some testing I found it only picks up the first. To create a lookup when there may be multiple values in the metadata item ToLookupMany should be used.

alanta avatar Nov 20 '20 07:11 alanta