Refactor/reconcile sqlx derive types
- Dominant language
- Rust
- Stars
- 40
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
Currently, structs that rely on sqlx functionality like `FromRow` and `type::Sqlx` are stored in the `opsml_sql` crate separate from all other structs/types, which are contained in `opsml_types`. Originally this was done to separate server and client functionality, and because I didn't fully understand how configurable features worked 😃 . It's time to revisit this and attempt to get all types under `opsml_types` with a configurable `server` feature that derives the `sqlx` functionality where appropriate. This may also allow us to remove unneeded wrappers that are currently in use that translates server return types to client types.
This is great for a first time contributor because it mainly involved updating existing structs and deleting unneeded wrapper structs
Contributor guide
Assessment
This issue has not been assessed yet.