graph-gophers / dataloader

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

Upgrade to Go v1.18 and add support for generics #84

Closed pavelnikolov closed 2 years ago

pavelnikolov commented 2 years ago

This PR:

  1. upgrades the library to Go v1.18
  2. adds support for Generics
  3. adds an OTEL tracer
  4. upgrades the library to v7
agnivade commented 2 years ago

Sorry I didn't get time to look at this. I'll give it a ride soon.

pavelnikolov commented 2 years ago

Thank you for testing.

csilvers commented 1 year ago

I know this was landed a long time ago, but is there any chance you can update the README to illustrate how to use this library now that the API has changed so dramatically (for the better)? The example it has still uses dataloader.Keys, for instance, which I think doesn't exist anymore.

pavelnikolov commented 8 months ago

@csilvers PRs would be accepted/appreciated.