You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apollo federation internals in TypeScript has an OperationPath API to represent this and they heavily use it as well in query planning, we could have something similar.
I'm not sure a query language is the best way to frame it as I think in practice you'll almost always work with dynamic paths, so having a structured representation in memory is more important than writing a particular path by hand. Though we could always have a OperationPath::parse("[email protected]") for example.
Would kind of be interesting to explore querying executable definition types with a smaller query language that we can use in the database.
Given a schema:
and a query like this:
it would be interesting to be able to do something like this
compiler.db.query.find("human.pets.name")
.The text was updated successfully, but these errors were encountered: