Function fieldConfigurer

Sets aggregate's field to a value.

auto auto fieldConfigurer(string property, T, Arg) (
  Locator!() locator,
  auto ref Arg arg
)
if (isField!(T, property));

Encapsulates logic that sets aggregates field to a certain value. If argument that is contained by configurer is a reference, it will be automatically replaced with value extracted from locator, and set to aggregate's field.