Replies: 1 comment
-
|
Hey, my consistent advice is to not use Marten documents for storing binary data. I don't think this is likely to be addressed anytime soon, and I'd strongly advise using just plain Postgresql tables for this kind of thing anyway. I'm converting this to a discussion |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
By default Json serializes byte[] to base 64 string. And it works when storing and loading documents.
But
Document Load can be fixed by changing byte[] to ICollection
But
So there I see multiple issues:
Do I miss something in configuration? Or there are workarounds I can not find?
simple example to reproduce
Beta Was this translation helpful? Give feedback.
All reactions