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

refactor: allow config values to be defined anywhere #9388

Merged

Conversation

rgrinberg
Copy link
Member

@rgrinberg rgrinberg commented Dec 6, 2023

Expose a [Config.make] function to allow settings to be defined
anywhere.

Move dune rules specific configuration to [Dune_rules].

@snowleopard this should reduce some potential for syncing by allowing internal/external dune to keep private config options outside of the main module.

@rgrinberg rgrinberg force-pushed the ps/rr/refactor__allow_config_values_to_be_defined_anywhere branch from fbcd6d4 to 66483ad Compare December 6, 2023 04:17
@rgrinberg rgrinberg requested a review from snowleopard December 6, 2023 04:18
@rgrinberg rgrinberg force-pushed the ps/rr/refactor__allow_config_values_to_be_defined_anywhere branch from 66483ad to 1226100 Compare December 11, 2023 17:04
Copy link
Collaborator

@snowleopard snowleopard left a comment

Choose a reason for hiding this comment

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

Looks good, thanks!

Expose a [Config.make] function to allow settings to be defined
anywhere.

Move dune rules specific configuration to [Dune_rules]

Signed-off-by: Rudi Grinberg <[email protected]>

<!-- ps-id: a74081fc-15c8-4c07-8397-897ff88e104c -->
@rgrinberg rgrinberg force-pushed the ps/rr/refactor__allow_config_values_to_be_defined_anywhere branch from 1226100 to b32cb16 Compare December 19, 2023 01:54
@rgrinberg rgrinberg merged commit 7609c1c into main Dec 19, 2023
22 of 24 checks passed
@rgrinberg rgrinberg deleted the ps/rr/refactor__allow_config_values_to_be_defined_anywhere branch December 19, 2023 02:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants