Closed fordN closed 6 years ago
Do you think it would make sense to have a few sample queries or something like that to test data and changes?
I've updated the README example queries to include a "complex" where
filter and the derivedFrom relationship.
Closes graphprotocol/graph-node#232
In order to implement the two-way relationship between
Challenge
andApplication
theChallenge
type was updated to usechallengeId
as the primary ID rather thanlistingHash
allowing for unique Challenges to be brought into the Application type using the @derivedFrom directive. Also updated was the handling ofChallengeRemoved
andChallengeSucceeded
events which now set theapplication
field to ensure the reference is maintained as theChallenge
entity is created and updated.