the-simian
05/07/2018, 7:44 AMtype MyDossier {
me: Person
friendsList: [Person!]!
someProperty: String
}
type Person {
id: ID! @unique
name: String
age: Int
}
the errors are that me
and myFriends
must specify a @relation
directive: @relation(name: "MyRelation")
. I read through the unit test file here: https://github.com/graphcool/prisma/blob/762da0cf711abb595a2e743b40d191a54714e535/server/integration-tests/integration-tests-mysql/src/test/scala/com/prisma/integration/SeveralRelationsBetweenSameModelsIntegrationSpec.scala but I'm not immediately seeing why these fields MUST have relationships, because there isnt a necessary back relation