# Dynamic union of parametric types

**URL:** <https://discourse.julialang.org/t/dynamic-union-of-parametric-types/129247>\
**Category:** General Usage\
**Tags:** parametric-types, types\
**Created:** [May 22, 2025, 12:19pm UTC](https://discourse.julialang.org/t/dynamic-union-of-parametric-types/129247 "2025-05-22T12:19:34Z")\
**Posts on this page:** 2\
**Page:** 2

<div class="post-metadata">

**Author:** ![Andrea\_Vigliotti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/andrea_vigliotti/32/7635_2.png) [@Andrea\_Vigliotti](https://discourse.julialang.org/u/Andrea_Vigliotti)\
**Post date:** [May 22, 2025, 2:18pm UTC](https://discourse.julialang.org/t/dynamic-union-of-parametric-types/129247/21 "2025-05-22T14:18:25Z")

</div>

that clarifies a lot, thanks for this!

---

<div class="post-metadata">

**Author:** ![Andrea\_Vigliotti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/andrea_vigliotti/32/7635_2.png) [@Andrea\_Vigliotti](https://discourse.julialang.org/u/Andrea_Vigliotti)\
**Post date:** [May 27, 2025, 7:23am UTC](https://discourse.julialang.org/t/dynamic-union-of-parametric-types/129247/22 "2025-05-27T07:23:17Z")

</div>

I realized that what I was trying to do is not possible, and closing the topic.

The types infrastructure should be layout preemptively and it should not be possible to modify it afterwards without the risk of breaking everything. So I recurred to abstract types to handle special cases,  
thanks to @nsajko for providing advice!

If anyone should stump into this and have different views/ideas please reopen

[Previous page](https://discourse.julialang.org/t/dynamic-union-of-parametric-types/129247.md?page=1)
