demml / demml/opsml

Refactor/reconcile sqlx derive types

Open
#249 0 comments 0 reactions 0 assignees View on GitHub
Backend good first issue help wanted
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.