demml/opsml

Refactor/reconcile sqlx derive types

開放

#249 建立於 2025年9月19日

 (0 則留言) (0 個反應) (0 位負責人)Rust (3 個分叉)auto 404
Backendgood first issuehelp wanted

倉庫指標

星標
 (39 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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

貢獻者指南