There is no way to permit all nested params. It could be great to make it possible to pass [] for permitting all nested params
class AppFunction < ActiveFunction::Base
def index
params.permit(data: []).to_h # => { data: { id: 1, text: "foobar" } }
end
end
AppFunction.process(:index, { data: { id: 1, text: "foobar" } })