chore: rename prisma-models to query-structure #4458
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Overview
Preparatory core refactoring to support joins through
FieldSelection
and notReadQuery
.Filter
,QueryArguments
, and*Compare
interfaces toquery-structure
prisma-models
toquery-structure
(naming up to debate) (rename needed to better reflect the larger scope thatprisma-models
now encompasses)Goal:
SelectedField
, thus removing the need forRelAggregationSelection
(still defined in query_connector).SelectedField
FWIW, uncle gippity suggested the following other namings for the new
query-structure
crate:query-framework
: Suggesting a foundational set of tools and abstractions for query construction.query-schema
: Reflecting the definition and organization of query elements.query-architecture
: Indicating a comprehensive design or blueprint for query elements.query-composition
: Highlighting the arrangement and combination of query components.query-blueprint
: Conveying the idea of a detailed plan or model for query construction.query-fabric
: Suggesting the underlying fabric or structure of queries.~query-skeleton
: Indicating the basic structure or framework of a query.query-template
: Implies a predefined structure or pattern for query elements.