On Sat, Jun 17, 2017 at 9:15 AM, sri <[email protected]> wrote:
>> It would be nice though if this is supported in the future or if
>> someone volunteers to submit a patch in this regard.
>
>
> Patches welcome, allowing custom expanders (besides JSON) for Mojo::Pg is a
> planned
> feature. It gets requested a lot but nobody ever volunteers for implementing
> it.

Thanks Sebastian!

If I finish this on time I will try to get it working and fully
understand the idx, name logic ;-)

I could figure out that $idx is for array and $name is for hash but
wasn't sure about many things such as in which cases @$self{qw(idx
name)} would be pre-set when entering _expand (i.e.  when would this
happen: my ($idx, $name) = @$self{qw(idx name)} when entering
_expand??);

I guess fully custom expanders seems like a bit of work but supporting
a few non-standard automatic cases like bytea and maybe couple of
others does not seem that much work (just MHO since it's the first
time doing anything serious with Mojo::Pg)

Best,
Alejandro Imass

-- 
You received this message because you are subscribed to the Google Groups 
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.

Reply via email to