Well, database introspection isn't new, we could've done that decades ago, but there are good reasons for the layer of abstraction.
Also if you go down this route, I think Postgraphile is a much better realization of that idea (uses GraphQL, not REST): https://www.graphile.org/postgraphile/