mikependon / RepoDB

A hybrid ORM library for .NET.
Apache License 2.0
1.68k stars 122 forks source link

Request: Support for mapping structs #1157

Open PauloHMattos opened 8 months ago

PauloHMattos commented 8 months ago

Describe the request

Currently RepoDb only supports mapping class objects when reading from database. But I see no reason to not support also mapping structs. The code changes seems minimal with very little risk.

Additional Context

If this is something that makes sense to you, I'm with time to work on the changes myself and open a PR.

mikependon commented 8 months ago

Make sense and it is possible of course. I am only interested of having all the existing Integration Tests work after the PR. Sure, you can make a PR of this.