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
In many different contexts we are using Legolas to read/write single-row tables as a way of de/serializing record structs. As a result, I fidn I'm frequently copy-pasting the same boilerplate code (wrap the row in a vector, get the schema version, Legolas.write, Legolas.read, only(Tables.rows(tbl)), get the record type, construct teh record).
Having a (read|write)_record (or maybe (read|write)_row?) methods defined here woudl reduce this duplication a lot.
In many different contexts we are using Legolas to read/write single-row tables as a way of de/serializing record structs. As a result, I fidn I'm frequently copy-pasting the same boilerplate code (wrap the row in a vector, get the schema version, Legolas.write, Legolas.read,
only(Tables.rows(tbl))
, get the record type, construct teh record).Having a
(read|write)_record
(or maybe(read|write)_row
?) methods defined here woudl reduce this duplication a lot.see also: beacon-biosignals/LegolasFlux.jl#24
The text was updated successfully, but these errors were encountered: