Skip to content

MongoRunnerOptions: allow null data/bin paths#115

Open
eviefp wants to merge 1 commit into
asimmon:mainfrom
eviefp:main
Open

MongoRunnerOptions: allow null data/bin paths#115
eviefp wants to merge 1 commit into
asimmon:mainfrom
eviefp:main

Conversation

@eviefp

@eviefp eviefp commented Sep 5, 2025

Copy link
Copy Markdown

The default path for both of these is null, so using the setter to set these values to null should not change anything in the behavior.

Allowing nulls here enables the use-case of allowing things such as new MongoRunnerOptions { BinaryDirectory = Environment.GetEnvironmentVariable("TEST_MONGODB_PATH") } in order to use TEST_MONGODB_PATH if it's set, otherwise fallback to the default behavior.

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.

1 participant