graph-gophers / dataloader

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

Update docs for v7 #106

Open abekoh opened 1 year ago

abekoh commented 1 year ago

The usability of v7 has greatly improved due to its support for generics, but there may be users who don't notice this due to insufficient documentation. In this change, I update the documentation to match v7.

obukhov commented 1 year ago

Thanks for this PR, I'm just exploring the library and was a bit confused for the difference between README.md and examples in example folder. After looking into releases and import paths it all made sense, but up to date README.md could have saved me 20 minutes.

I'm not sure if non-generic version is still in use or is deprecated. If it is not, maybe both cases should stay in the readme file