On 3 Feb 2017, at 14:35, Jeremy Evans wrote:
There are a few Sequel classes that subclass core classes:
Sequel::SQL::Blob < String
Sequel::SQLTime < Time
Sequel::Model::Associations::AssociationReflection < Hash
Currently, these do not override inspect, so inspect makes them look
like a
core object. There was recently an issue filed in GitHub
(https://github.com/jeremyevans/sequel/issues/1293) for custom inspect
handling for SQL::Blob, but before I make changes, I'd like to get
some
feedback here as to wait people would like in terms of inspect output.
This has tripped me up several times, so this looks great to me. Even
just making it clear that they're not core objects will be very helpful.
The representations look great to me.
--
Michael Granger <[email protected]>
--
You received this message because you are subscribed to the Google Groups
"sequel-talk" 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/sequel-talk.
For more options, visit https://groups.google.com/d/optout.