If you're using GraphQL with SQL -- postgres specifically -- I would say use Hasura, but support between Hasura & CockroachDB seems to have stalled due to missing triggers [0] [1]. CRDB supports a feature called "changefeeds" [2] which is claimed might cover some of Hasura's use-cases, but that's a proprietary extension not present in base PostgreSQL.
[0]: https://github.com/hasura/graphql-engine/issues/678
[1]: https://github.com/cockroachdb/cockroach/issues/28296
[2]: https://www.cockroachlabs.com/docs/v21.1/stream-data-out-of-...