Here are two versions of the expanded macro - the first with @Observable, the second without. As far as I can see the expansions are identical. However the expansion of @Observable adds @ObservationTracked before the query, so that must be the cause of the error. I can find no explanation anywhere in the documentation or searching online. I'm thinking it's a bug.
Topic:
App & System Services
SubTopic:
General
Tags: