Parsing an object as a Vector of parentmodule

I hope this question finds you well, and I hope I can explain the question adequately. I write a program where I pass a vector of objects (mutable struct) from one module to a submodule (child module). So I call a function from a submodule, but the object comes from a module with include(…). In the submodule and the parent module, I make the object known.

in the function of the submodule, I use the function
function foo( Vector{Any})

in the parent module it is something like this:

It works for me if I use Any as the datatype for the vector, but I want to have it clean so I can get the right type of object.

You’ll need to refactor your code so you only call include once.