_whitelogger has joined #amber
feepbot has quit [Ping timeout: 244 seconds]
feepbot has joined #amber
<
FromGitter>
<sam0x17> @drujensen in granite, what if I want to actually use a `JSON::Any` column with no converter?
<
FromGitter>
<sam0x17> should I just make a `Json(JSON::Any, JSON::Any)` converter?
<
FromGitter>
<Blacksmoke16> do the drivers support `JSON::Any`?
<
FromGitter>
<sam0x17> the pg one does I know for sure
<
FromGitter>
<Blacksmoke16> i.e. is the column just a varchar or is actually a `JSON` column?
<
FromGitter>
<sam0x17> or my memory is lying
<
FromGitter>
<Blacksmoke16> no looks like it does
<
FromGitter>
<Blacksmoke16> cant you just type the column as `JSON::Any`?
<
FromGitter>
<Blacksmoke16> rip
<
FromGitter>
<sam0x17> so I told the junior dev asking this to try doing a `Json(JSON::Any, JSON::Any)` dummy converter we'll see if that works
<
FromGitter>
<Blacksmoke16> if not saving as a `String` and reading as `JSON::Any` might do the trick
<
FromGitter>
<sam0x17> yeah that's my backup
<
FromGitter>
<Blacksmoke16> prob should support `JSON::Any` since its not really a custom type