Avoid deriving Fields for each invocation of struct
and named_struct
#14275
Labels
enhancement
New feature or request
struct
and named_struct
#14275
Is your feature request related to a problem or challenge?
struct
andnamed_struct
do not yet implementinvoke_with_args
; onlyinvoke_batch
is implemented. Sinceinvoke_batch
does not have access to the return type it cannot make use of theFields
instance that's created in that function and instead derives the same value on each invocation.Describe the solution you'd like
Implement
invoke_with_args
instead to allow reuse of the already computedFields
and remove the duplicated logic.Describe alternatives you've considered
None
Additional context
Partial version of #13515 for
struct
andnamed_struct
.The text was updated successfully, but these errors were encountered: