Skip to content

Refactor Prophet struct to prevent invalid states #120

@coderabbitai

Description

@coderabbitai

The TODO comment in crates/augurs-prophet/src/prophet.rs suggests moving certain fields into a separate struct. Refactoring these fields can minimize the number of optional fields in the Prophet struct and reduce the risk of the struct being in an invalid state due to improper combinations of optional fields.

This issue was raised in PR #118.

PR URL: #118
Comment URL: #118 (comment)

Requested by @sd2k.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions