Closed badrange closed 1 year ago
I can report the same issue using the latest Directus.
Thanks for your reports. I hadn't noticed this issue because I don't use M2A relations in my projects.
I took a quick look and it seems like the solution is a bit more complicated as the relation information isn't quite readily available.
I will try and see if I can find a fix for this this weekend.
Nevermind, I found a solution. I'm going to run some tests
Fix seems to work. I have released it as version 2.5.1.
Thank you! Will try out the latest release!
I just installed the module and ran npx directus models snapshot model_snapshot.ts I got this output for different fields in multiple collections, they are all for M2A fields.
We're using directus 9.24.0.