I have the following lines of code, which were working fine until recently.
let interestsQuery = await wixData.queryReferenced("VolunteerDatabase", volunteer, "interest");
let referencedInterests = interestsQuery.result.items;
But now suddenly, it’s complaining that queryReferenced requires 4 arguments, forcing me to include an “options” argument, which was previously optional. It also complains that “result” does not exist on type “WixDataQueryReferencedResult”. Looking at the API reference now, I see that is true. But I swear this was working a couple of weeks ago.
It was an easy fix, but still, am I crazy? What happened?