Skip to content

Commit

Permalink
fix: Add no null array
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosvdr committed May 22, 2024
1 parent 60d1d61 commit 17e7bd8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,23 @@ type EscrowAccount @entity{
balance: BigInt!
totalAmountThawing: BigInt!
thawEndTimestamp: BigInt!
transactions: [Transaction!] @derivedFrom(field: "escrowAccount")
transactions: [Transaction!]! @derivedFrom(field: "escrowAccount")
}

type Sender @entity {
# sender address
id: Bytes!
# Sender Escrow
escrowAccounts: [EscrowAccount!] @derivedFrom(field: "sender")
transactions: [Transaction!] @derivedFrom(field: "sender")
signers: [Signer!] @derivedFrom(field: "sender")
escrowAccounts: [EscrowAccount!]! @derivedFrom(field: "sender")
transactions: [Transaction!]! @derivedFrom(field: "sender")
signers: [Signer!]! @derivedFrom(field: "sender")
}

type Receiver @entity {
# receiver address
id: Bytes!
escrowAccounts: [EscrowAccount!] @derivedFrom(field: "receiver")
transactions: [Transaction!] @derivedFrom(field: "receiver")
escrowAccounts: [EscrowAccount!]! @derivedFrom(field: "receiver")
transactions: [Transaction!]! @derivedFrom(field: "receiver")
}

type Transaction @entity(immutable: true){
Expand Down

0 comments on commit 17e7bd8

Please sign in to comment.