File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/Atata.Configuration.Json Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -80,9 +80,8 @@ public DriverJsonSection Driver
8080
8181 /// <summary>
8282 /// Gets or sets the driver initialization stage.
83- /// The default value is <see cref="AtataContextDriverInitializationStage.Build"/>.
8483 /// </summary>
85- public AtataContextDriverInitializationStage DriverInitializationStage { get ; set ; } = AtataContextDriverInitializationStage . Build ;
84+ public AtataContextDriverInitializationStage ? DriverInitializationStage { get ; set ; }
8685
8786 public List < LogConsumerJsonSection > LogConsumers { get ; set ; }
8887
Original file line number Diff line number Diff line change @@ -10,7 +10,8 @@ public static class JsonConfigMapper
1010 public static AtataContextBuilder Map < TConfig > ( TConfig config , AtataContextBuilder builder )
1111 where TConfig : JsonConfig < TConfig >
1212 {
13- builder . UseDriverInitializationStage ( config . DriverInitializationStage ) ;
13+ if ( config . DriverInitializationStage != null )
14+ builder . UseDriverInitializationStage ( config . DriverInitializationStage . Value ) ;
1415
1516 if ( config . BaseUrl != null )
1617 builder . UseBaseUrl ( config . BaseUrl ) ;
You can’t perform that action at this time.
0 commit comments