type Participants @entity(immutable: true) {
id: String!
games: [Games] # array of games they are a part of
}
this returns the error
Participants:
- Field 'games':
Field has type [Games] but
must have type [Games!]
Reason: Lists with null elements are not supported.
see in my contract when a participant in initialized he necessarily is not a part of any game so i want the games field to be empty, i have seen this syntax on GitHub and it works for those projects i don’t know why this syntax isn’t working here.
for reference: specVersion: 0.0.5