and Relay Modern has a PR open for it.
Doing something similar without one of these graphql client libraries shouldn't be too tough.