Example: don't require ordering

This commit is contained in:
asonix 2022-12-12 20:32:46 -06:00
parent 2a17a60bf8
commit 1a0ccecaca

View file

@ -64,7 +64,7 @@ async fn normalize_document(iri: Iri<'static>, document: &str) -> Result<(), Any
let mut pre_gen = Blank::new().with_metadata(Location::new(iri_index.clone(), Span::default()));
let flattened = expanded
.flatten_with(&mut vocabulary, &mut pre_gen, true)
.flatten_with(&mut vocabulary, &mut pre_gen, false)
.expect("Failed to flatten");
let output_document = json_ld_normalization::normalize::<_, _, _, sha2::Sha256>(