Skip to content

chore: small refactoring#5

Open
dubloom wants to merge 1 commit intomainfrom
dubloom/orchestrion-review
Open

chore: small refactoring#5
dubloom wants to merge 1 commit intomainfrom
dubloom/orchestrion-review

Conversation

@dubloom
Copy link

@dubloom dubloom commented Mar 31, 2025

Small suggestions, you can discard the PR if you feel it is not useful.

@dubloom dubloom requested a review from bengl March 31, 2025 13:08
#![deny(clippy::perf)]
#![deny(clippy::complexity)]
#![deny(clippy::correctness)]
#![deny(clippy::unwrap_used)]
Copy link
Member

Choose a reason for hiding this comment

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

These should be left in because they make clippy more strict.

pub struct Config {
pub instrumentations: Vec<InstrumentationConfig>,
pub dc_module: String,
pub diagnostic_channel_module: String,
Copy link
Member

Choose a reason for hiding this comment

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

Let's leave this as dc_module, to keep it consistent with the YAML, which we'd like to be clear, but also concise.

Copy link
Contributor

Choose a reason for hiding this comment

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

Personally, I like the descriptive name in both places over the "you know what the abbreviation means so you know what the name means" version.

timfish added a commit to timfish/orchestrion-js that referenced this pull request Jun 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants