graph-gophers / dataloader

Implementation of Facebook's DataLoader in Golang
MIT License
1.21k stars 75 forks source link

Error inMemoryCache after v4 update #33

Closed sandeepone closed 6 years ago

sandeepone commented 6 years ago
vendor/github.com/nicksrandall/dataloader/inMemoryCache.go:51: not enough arguments in call to c.Get                                              
        have (interface {})         
        want ("context".Context, interface {}) 

Context not passed to the get called by delete method.

nicksrandall commented 6 years ago

Fixed in 4.2. Thanks for reporting!