@helge I believe it’s a property wrapper like State, not a macro. But I haven’t touched SwiftData in a few weeks so I could be mis-remembering.
@helge yep, it’s a struct conforming to DynamicProperty: https://developer.apple.com/documentation/swiftdata/query