Example of a storage agnostic schema layer that can drive queries, graphql, privacy, mutations and other concerns. We'll call it Ent (short for entity).
A Facebook team from Tel Aviv did open-source an Ent framework for Go. It is heavily inspired by the framework used by the rest of the company except that EntGo:
- Only supports Go as a target language
- Only supports SQL and Gremlin as backends
- Schema definitions are written in Go rather than a DSL or something like Yaml.
I never got around to asking them why they didn't use the existing framework.