fn id_should_also_work_on_embedded_types() {
    let dml = r#"
    model Model {
        id Int @id

        @@embedded
    }
    "#;

    let datamodel = parse(dml);
    let user_model = datamodel.assert_has_model("Model");
    user_model.assert_has_scalar_field("id").assert_is_id();
}
// bring back when we work on embeds
bring back when we work on embeds
bring back when we work on embeds
fn id_should_also_work_on_embedded_types() {
    let dml = r#"
    model Model {
        id Int @id
        @@embedded
    }
    "#;
    let datamodel = parse(dml);
    let user_model = datamodel.assert_has_model("Model");
    user_model.assert_has_scalar_field("id").assert_is_id();
}
fn id_should_also_work_on_embedded_types ( ) { let dml = r#"
    model Model {
        id Int @id

        @@embedded
    }
    "# ; let datamodel = parse ( dml ) ; let user_model = datamodel . assert_has_model ( " " ) ; user_model . assert_has_scalar_field ( " " ) . assert_is_id ( ) ; }
bring back when we work on embeds
bring back when we work on embeds