scaphold-io / scaphold-issues

Post issues that you find on Scaphold here. Post anything about the platform, docs, boilerplates, etc... Happy Scapholding!
3 stars 0 forks source link

Cannot create connections #34

Open andresespinosapc opened 6 years ago

andresespinosapc commented 6 years ago

In my schema, I have created a One-to-Many relationship by creating an Activity node which has a field RoutineConnection that is a connection to the Routine node. In the schema docs (in GrapiQL for example) there is no routineId field in the CreateActivityInput type neither in UpdateActivityInput, so I can't create a connection between Activity and Routine. For example, here is a mutation I want to do but I can't:

mutation {
  createActivity(input: {
    routineId: "Um91dGluZTozOQ=="
    start: "2018-04-10 14:00"
    end: "2018-04-10 15:00"
  }) {
    changedActivity {
      id
    }
  }
}