Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Finish Instrument trait and implement sqlx trait FromRow for instruments #1600

Merged
merged 2 commits into from
Apr 20, 2024

Conversation

filipmacek
Copy link
Member

Pull Request

  • finalize Instrument Rust trait so that it contains its union from all instrument struct fields and can later represent SQL table instrument
  • implement FromRow sqlx trait for Postgres that will help with conversion from Postgres to native rust type

@filipmacek filipmacek added the rust Relating to the Rust core label Apr 20, 2024
@filipmacek filipmacek self-assigned this Apr 20, 2024
@filipmacek filipmacek changed the title Finalize Instrument trait and implement sqlx FromRow for all instruments Finish Instrument trait and implement sqlx trait FromRow for instruments Apr 20, 2024
Copy link
Member

@cjdsellers cjdsellers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll merge this but then move the FromRow impls and database dependencies out of nautilus_model and into infrastructure for now.

@cjdsellers cjdsellers merged commit fbf67eb into develop Apr 20, 2024
9 checks passed
@cjdsellers cjdsellers deleted the pq-fromRow-instruments branch April 20, 2024 21:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rust Relating to the Rust core
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants