[v2] Make `createServerValidate` use params from plugin
Author: LeCarbonatorCreated Sep 3, 2026Updated Sep 3, 2026
Labelstype: enhancementv2scope: reactarea: runtimearea: types
Instead of:
const { createServerValidate } = serverValidateHelper({
framework: next({
// options related to per-server validator
}),
})Do:
const { createServerValidate } = serverValidateHelper({
framework: next({
// options related to framework
}),
})
createServerValidate(formOpts, {
// options that a plugin might need. Example: FormData parsing details
})The options should be inferred from the plugin.
Source: TanStack/form