Skip to content
This repository has been archived by the owner on Mar 12, 2024. It is now read-only.

Make only the ID required in the schema #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions schema.graphql
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
type Gravatar @entity {
id: ID!
owner: Bytes!
displayName: String!
imageUrl: String!
owner: Bytes
displayName: String
imageUrl: String
}
2 changes: 1 addition & 1 deletion subgraph.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ dataSources:
abi: Gravity
mapping:
kind: ethereum/events
apiVersion: 0.0.1
apiVersion: 0.0.2
language: wasm/assemblyscript
entities:
- Gravatar
Expand Down