Skip to content
This repository was archived by the owner on Sep 2, 2021. It is now read-only.

Moved EnableFileBasedRouting to routing config#18

Merged
Scooletz merged 1 commit intomasterfrom
move-enabling-method-to-routing-config
Dec 16, 2016
Merged

Moved EnableFileBasedRouting to routing config#18
Scooletz merged 1 commit intomasterfrom
move-enabling-method-to-routing-config

Conversation

@SzymonPobiega
Copy link
Copy Markdown
Contributor

@SzymonPobiega SzymonPobiega commented Dec 16, 2016

In order to be consistent with other routing configuration methods e.g. InstanceMappingFile.

@SzymonPobiega SzymonPobiega self-assigned this Dec 16, 2016
@SzymonPobiega
Copy link
Copy Markdown
Contributor Author

@Scooletz @timbussmann please review.

@Scooletz Scooletz merged commit 7bee7a6 into master Dec 16, 2016
@Scooletz Scooletz deleted the move-enabling-method-to-routing-config branch December 16, 2016 09:48
{
config.GetSettings().Set(FileBasedRoutingFeature.RoutingFilePathKey, configurationFilePath);
config.EnableFeature<FileBasedRoutingFeature>();
config.GetSettings().EnableFeatureByDefault<FileBasedRoutingFeature>();
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

what was the intent on switching to EnableFeatureByDefault?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

There is no EnableFeature on the settings.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

ah I see, because we switched to RoutingSettings. It kinda looks like a "bug" then that EnableFeatureByDefault is available instead.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants