canonical / sqlair

Friendly type mapping for SQL databases
Apache License 2.0
16 stars 8 forks source link

Separate concerns relating to reflection and type information #121

Closed manadart closed 7 months ago

manadart commented 7 months ago

SQLair has an internal package, but under that a single expr package into which everything is lumped.

This has allowed accretion of logic with no clear delineation of concerns, lack of encapsulation, no principle of least knowledge et al.

Here we create a new package typeinfo into which logic around reflection and type information is relocated. In particular: