mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-17 12:31:52 +03:00
661a1b6560
### Description This PR removes the need for the `SourceCache` when building the schema for the actions. To do so, it changes the way we represent custom types in the source cache. Instead of trying to reuse the same `ObjectTypeDefinition` and `TypeRelationship`. we now have separate `AnnotatedObjectType` and `AnnotatedRelationship`. When building them, at schema cache building time, we persist all the relevant source information, so that it's all available at schema building time. This PR makes no attempt at re-using `RemoteRelationship` primitives, to avoid having to change the way async action queries are executed, and to avoid having to make complicated changes to how we parse and represent those relationships. PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4813 GitOrigin-RevId: 3cc65c5a043c8d3da5f7214eed40c558c4349327 |
||
---|---|---|
.. | ||
DDL | ||
DML | ||
IR | ||
Types | ||
IR.hs |