You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the benefit of having RawCodec in addition to Queryable? It has a subset of the functionality, but for every type you'd want to implement RawCodec for, you'd also want to implement Queryable for. (It's also never used as trait, so if there are exceptions, you could just use a free function as helper)
The text was updated successfully, but these errors were encountered:
Well, yes, it looks like ugly design artifact. I have mixed feeling, though: Queryable is meant to mean a high level thing, i.e. something that you can query from the database, so using it from the inside of Codec sounds a bit weird.
What is the benefit of having
RawCodec
in addition toQueryable
? It has a subset of the functionality, but for every type you'd want to implementRawCodec
for, you'd also want to implementQueryable
for. (It's also never used as trait, so if there are exceptions, you could just use a free function as helper)The text was updated successfully, but these errors were encountered: