@override("other subgraph", label: "percent(num)") is not working for field which is @required by other subgraph

I am getting error SATISFIABILITY_ERROR when trying @override with label if that field is required by other subgraph.

subgraph1
type Type1
{
    fieldName: EntityTypeObject  @override("subgraph2", label:"percent(0)")
}

subgraph2 
type Type1
{
    fieldName: EntityTypeObject 
}

subgraph3
extend type Type1
{
  fieldName: EntityTypeObject @external
}

type Type2
{
fieldName2: returnSomething @require(fieldName)
}

Above scenario gives me error of SATISFIABILITY_ERROR and says that it is not able to find field Type2.fieldName2.

Can anybody please help here?

Hi Pratiksha! At this time, the @requires directive does not support using fields with a labelled @override on them.

1 Like