title: graphql multiple associations
body: <p>I have the following models in sequelize</p>
  
  <p>User</p>
  
  <pre><code>User.associate = models =&gt; {
      User.hasMany(models.Schedule, {
          onDelete: 'CASCADE',
          foreignKey: 'patient_id',
          sourceKey: 'id',
          as: 'patient'
      });
  
      User.hasMany(models.Schedule, {
          onDelete: 'CASCADE',
          foreignKey: 'professional_id',
          sourceKey: 'id',
          as: 'professional'
      });
  };
  </code></pre>
  
  <p>Schedule</p>
  
  <pre><code>Schedule.associate = models =&gt; {
      Schedule.belongsTo(models.User, {
          foreignKey: 'patient_id',
          targetKey: 'id',
          as: 'patient'
      });
  };
  
  Schedule.associate = models =&gt; {
      Schedule.belongsTo(models.User, {
          foreignKey: 'professional_id',
          targetKey: 'id',
          as: 'professional'
      });
  };
  </code></pre>
  
  <p>And the following schemas in graphql</p>
  
  <p>user</p>
  
  <pre><code>type User {
    id: ID!
    schedules1: [Schedule] @relation(name: "patient")
    schedules2: [Schedule] @relation(name: "professional") 
  }
  </code></pre>
  
  <p>schedule</p>
  
  <pre><code>type Schedule {
    id: ID!
    date : Date
    patient: User! @relation(name: "patient")
    professional: User! @relation(name: "professional") 
  </code></pre>
  
  <p>}</p>
  
  <p>but when try a query of users with schedules like this</p>
  
  <pre><code>{
   users{
     id
     name
     schedules1{
       id
     }
    }
  }
  </code></pre>
  
  <p>i got the following result </p>
  
  <pre><code>{
   "data": {
     "users": [
      {
        "id": "1",
        "name": "Gregorio",
        "schedules1": null
     },
    ...
  </code></pre>
  
  <p>My question is, how i can model multiple associations in graphql, i tried the anotation @relation without success.</p>