# \[dry-system\] Load order problems

**URL:** <https://discourse.dry-rb.org/t/dry-system-load-order-problems/1077>\
**Category:** Support\
**Created:** [June 25, 2020, 11:32am UTC](https://discourse.dry-rb.org/t/dry-system-load-order-problems/1077 "2020-06-25T11:32:38Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![MicMicMon](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.dry-rb.org/micmicmon/32/495_2.png) [@MicMicMon](https://discourse.dry-rb.org/u/MicMicMon)\
**Post date:** [June 26, 2020, 12:13pm UTC](https://discourse.dry-rb.org/t/dry-system-load-order-problems/1077/2 "2020-06-26T12:13:49Z")

</div>

I don’t know the answer in general for `dry-system`, but in this specific case you can just avoid the issue by just giving a string to the `type` method. GraphQL-ruby will resolve the class name later on, when all classes are loaded. So change your line to:

```ruby
type 'Types::User', null: true

```

---

_[View the full topic](https://discourse.dry-rb.org/t/dry-system-load-order-problems/1077)._
