documentation icon indicating copy to clipboard operation
documentation copied to clipboard

Dot notation syntax (`attributesToRetrieve` etc.) for arrays is not documented

Open flevi29 opened this issue 9 months ago • 4 comments

@jkdoshi afaik this is not supported, but this will prices.price = 22 AND prices.per = "kg". Get me wrong @irevoire ?

Originally posted by @MarinPostma in #2211

I was looking for it for quite a bit. Maybe I missed it in the official docs? If I haven't this is a very valid issue.

flevi29 avatar Apr 12 '25 07:04 flevi29

I guess it is explained here how arrays are flattened, but I believe it would be better to explicitly state and give examples on how to use dot notation with arrays.

flevi29 avatar Apr 12 '25 07:04 flevi29

Hello, I moved your issue to the docs repository, as this looks like it is more pertaining to the documentation 👍

Thank you for reporting 🙏

dureuill avatar Apr 14 '25 07:04 dureuill

Oh whoops, okay, sorry.

flevi29 avatar Apr 14 '25 07:04 flevi29

No problemo, I'm glad you reported, transferring to docs was a quick op 👍

dureuill avatar Apr 14 '25 08:04 dureuill