diff --git a/spec.md b/spec.md index 491cfd2..b5e4353 100644 --- a/spec.md +++ b/spec.md @@ -116,7 +116,7 @@ On the other hand, selecting data from an atproto record array without regard fo RecordPath makes a pragmatic choice to treat all arrays as unordered sets. Index position is not encoded in the path, and selecting a RecordPath that traverses an array always matches zero-or-more items ("vector" matches), instead of the zero-or-one behaviour of object-only paths ("scalar" matches). -> ![INFO] +> [!NOTE] > It's a compromise and bit unfortunate, but in practice it works well. Even for a data format like geoJSON, if you want only `longitude`s from its `[longitude, latitude]` pair format: you can RecordPath the array-pair itself and index into it at the application level. Arrays are descended into with `[]`: