Aurelius Entity Memo Field and XData-Server as REST Server / expanded

Hi
i have additiona questions according to the closed topic:

a) how can i enable the expand function on the server side (without $expand-Parameter from Client) ?
My test with
Module := TXDataServerModule.Create(
'http://+:8180/app/rest',
TUniDacMySqlConnection.CreatePool(20)
);

Module.ProxyLoadDepth := 3;
Module.DefaultExpandLevel := 3;
Module.ProxyListLoadDepth := 3;
does not work.

B) The expanded Field ist Base64 coded

"Anschrift": "SgBhAG4AIABUAGUAcwB0AA0ACgANAAoAVABlAHMAdABzAHQAcgBhAHMAcwBlACAAMgAxAA0ACgANAAoARABFAC0ANAAyADQAMgA0ADIAIABNAPwAYwBoAGUAbgA=",

"LieferAnschrift": "SgBhAG4AIABUAGUAcwB0AA0ACgANAAoAVABlAHMAdABsAGkAZQBmAGUAcgBzAHQAcgBhAHMAcwBlACAAMgAxACAADQAKAA0ACgBEAEUALQA1ADIAMwA0ADUAIABBAGEAYwBoAGUAbgA=",

How i can get the plain string ?

Thank you for your support!
Greetings Andy

In this case I recommend you simply change your mapping from TBlob to string and set the size to 65536:

      [Column('Anschrift',[],65536)]
      FAnschrift: string;

This way, lazy-loading will not apply and the string in JSON will come as pure string.