Compare commits

..

3 Commits

Author SHA1 Message Date
9b763a23c3 version: 1.0.106 2026-04-03 03:00:49 -04:00
ae4d83acd1 version: 1.0.105 2026-04-03 01:10:02 -04:00
ee8c9086ef added more detail to show fks that are wrong 2026-04-03 01:09:48 -04:00
3 changed files with 27 additions and 3 deletions

View File

@ -240,7 +240,18 @@
"success": false,
"errors": [
{
"code": "AMBIGUOUS_TYPE_RELATIONS"
"code": "AMBIGUOUS_TYPE_RELATIONS",
"details": {
"cause": "Multiple conflicting constraints found matching prefixes",
"context": [
{
"constraint": "fk_activity_invoice_1"
},
{
"constraint": "fk_activity_invoice_2"
}
]
}
}
]
}
@ -338,7 +349,18 @@
"success": false,
"errors": [
{
"code": "AMBIGUOUS_TYPE_RELATIONS"
"code": "AMBIGUOUS_TYPE_RELATIONS",
"details": {
"cause": "Multiple conflicting constraints found matching prefixes",
"context": [
{
"constraint": "fk_junction_source_actor"
},
{
"constraint": "fk_junction_target_actor"
}
]
}
}
]
}

View File

@ -766,6 +766,8 @@ pub(crate) fn resolve_relation<'a>(
if !resolved {
let mut details = crate::drop::ErrorDetails {
path: path.to_string(),
context: serde_json::to_value(&matching_rels).ok(),
cause: Some("Multiple conflicting constraints found matching prefixes".to_string()),
..Default::default()
};
if let Some(sid) = schema_id {

View File

@ -1 +1 @@
1.0.104
1.0.106