From 197ca37cd88122eab9598cd790a8d2a437322e29 Mon Sep 17 00:00:00 2001 From: Nena Date: Tue, 23 Apr 2019 15:18:01 -0700 Subject: [PATCH] Make only the ID required in the schema --- schema.graphql | 6 +++--- subgraph.yaml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/schema.graphql b/schema.graphql index f4530243..028d7f8e 100644 --- a/schema.graphql +++ b/schema.graphql @@ -1,6 +1,6 @@ type Gravatar @entity { id: ID! - owner: Bytes! - displayName: String! - imageUrl: String! + owner: Bytes + displayName: String + imageUrl: String } diff --git a/subgraph.yaml b/subgraph.yaml index dbebe88c..b1154781 100644 --- a/subgraph.yaml +++ b/subgraph.yaml @@ -12,7 +12,7 @@ dataSources: abi: Gravity mapping: kind: ethereum/events - apiVersion: 0.0.1 + apiVersion: 0.0.2 language: wasm/assemblyscript entities: - Gravatar