Backendless Support
 
Solved

Automatically load relations without "autoload"

Here is my User table. One of them has relation to Meme table. Pay attention: autoload is off!

ce7ae5492c958297dd63d3e2707c83f9

And there is my Meme table

27d182debb7027690926e185b2189a58

And if I request GET method like this

6dfc5743be848ef0cad31c9187532a00

it happens even if I try with relation depth = 1

02ff09f4679f6520503004831ff12271

I get "liked" relations too with turned off autoload. Is it a bug? Thanks.

Leave a Comment

Comments (6)

photo
1

But if I invoke GET method like this

aa7f37ef41decd1be742753e9fca7012

all works correctly

photo
1

Hello,

You started by describing the Users, table, however, the screenshot shows that you're loading data from the Meme table:

8265bd2b13cec27cc5f284d6a14242a3

So what happens here, is the "author" column in Meme has autoload enabled. When that relation is returned, it also pulls the "liked" column (which seems wrong, we will have to verify it).

Regards,

Mark

photo
1

Sure, my fault, I'm loading data from Meme Table of course.

photo
1

No problem. I opened an internal ticket to investigate this behavior: BKNDLSS-15731

photo
photo
1

Hello,

we have fixed this issue, please check with your application

photo
1

Problem is solved

photo