Skip to content

Commit

Permalink
H-3694: Add output when resolving a type (#5751)
Browse files Browse the repository at this point in the history
  • Loading branch information
TimDiekmann authored Nov 28, 2024
1 parent bf26394 commit 6d935ac
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1131,7 +1131,9 @@ where
.collect::<Vec<_>>();

let data_type_validator = DataTypeValidator;
for (data_type_id, schema) in data_types {
let num_data_types = data_types.len();
for (idx, (data_type_id, schema)) in data_types.into_iter().enumerate() {
tracing::debug!(data_type_id=%schema.id, "Reindexing schema {}/{}", idx + 1, num_data_types);
let schema_metadata = ontology_type_resolver
.resolve_data_type_metadata(data_type_id)
.change_context(UpdateError)?;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1491,7 +1491,9 @@ where
.collect::<Vec<_>>();

let entity_type_validator = EntityTypeValidator;
for (entity_type_id, schema) in entity_types {
let num_entity_types = entity_types.len();
for (idx, (entity_type_id, schema)) in entity_types.into_iter().enumerate() {
tracing::debug!(entity_type_id=%schema.id, "Reindexing schema {}/{}", idx + 1, num_entity_types);
let schema_metadata = ontology_type_resolver
.resolve_entity_type_metadata(entity_type_id)
.change_context(UpdateError)?;
Expand Down

0 comments on commit 6d935ac

Please sign in to comment.