# Subtyping Dict

**URL:** <https://discourse.julialang.org/t/subtyping-dict/56720>\
**Category:** General Usage\
**Created:** [March 8, 2021, 9:47am UTC](https://discourse.julialang.org/t/subtyping-dict/56720 "2021-03-08T09:47:25Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![dfdx](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dfdx/32/120_2.png) [@dfdx](https://discourse.julialang.org/u/dfdx)\
**Post date:** [March 8, 2021, 11:18am UTC](https://discourse.julialang.org/t/subtyping-dict/56720/2 "2021-03-08T11:18:36Z")

</div>

This thread might be relevant to your problem:

> [@Forward all methods of a structure](https://discourse.julialang.org/t/forward-all-methods-of-a-structure/11783/4):
>
> Thanks for your reply, code generation is a good idea, but not good enough. For future extensions, we still have to define two set of functions for both Daggered and original version. Adjoint has the same problem.

In particular, the `@forward` macro is what I would use in this situation.

---

_[View the full topic](https://discourse.julialang.org/t/subtyping-dict/56720)._
