Skip to content

Commit

Permalink
Handle build warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
codedmart committed Dec 6, 2024
1 parent e02451f commit 56fa65b
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion crates/query-engine/translation/src/translation/helpers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ impl<'a> Env<'a> {
pub fn new(
metadata: &'a metadata::Metadata,
relationships: BTreeMap<models::RelationshipName, models::Relationship>,
) -> Env {
) -> Env<'a> {
Env {
metadata,
relationships,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ use query_engine_sql::sql;

pub struct JoinFieldInfo {
pub table_alias: sql::ast::TableAlias,
pub column_alias: sql::ast::ColumnAlias,
pub relationship_name: String,
pub arguments: BTreeMap<models::ArgumentName, models::RelationshipArgument>,
pub query: models::Query,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,6 @@ pub fn translate_rows_query(
};
join_fields.push(relationships::JoinFieldInfo {
table_alias,
column_alias: column_alias.clone(),
relationship_name: relationship.to_string(),
arguments,
query: *query,
Expand Down

0 comments on commit 56fa65b

Please sign in to comment.