canonical / sqlair

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

Fix: GetAll not accepting slices of maps #85

Closed Aflynn50 closed 1 year ago

Aflynn50 commented 1 year ago

This bugfix adds support to GetAll for queries involving maps. This was missed in the maps PR. Currently, GetAll gives an error saying it only accepts slices of structs.

This PR also adds a few more cases to the Get tests to verify support for maps and tides up/minorly corrects some other tests relating to maps.