Closed jeggy closed 4 years ago
Currently the prepare function within DataLoaderPropertyDSL only has support up to 1 argument. We want to add support for multiple just as we have in the other DSLs.
prepare
DataLoaderPropertyDSL
I would like to be able to do something like this:
dataProperty<Int, ContactValue?>("mainContact") { prepare { current, ctx: Context, type: ContactType -> ... } }
Currently the
prepare
function withinDataLoaderPropertyDSL
only has support up to 1 argument. We want to add support for multiple just as we have in the other DSLs.I would like to be able to do something like this: