graph-gophers / dataloader

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

Implement `Unwrap` interface for `SkipCacheError` #112

Closed goncalvesnelson closed 4 months ago

goncalvesnelson commented 4 months ago

This PR implements the Unwrap interface for the SkipCacheError type. This allows the use of errors.Is to test wrapped errors.

Example: https://go.dev/play/p/HI9DIbkQKrw