You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and translations where I am trying to override name field
typeProduct@key("id") {
id ID! @external
name: String!@requires("name") @override("products")
}
The problem is - I do not know how to tell Gateway/Router that I need a field name from products subgraph and then I will use it in translations subgraph to generate a new value based on original value.
For example: if name field from products subgraph is IPhone, I need to modify it for example like: IPhone (EN).
Is it possible to achieve what I am trying to do ?
The text was updated successfully, but these errors were encountered:
My case is: I have two subgraphs
products
with typeProduct
and
translations
where I am trying to overridename
fieldThe problem is - I do not know how to tell Gateway/Router that I need a field
name
fromproducts
subgraph and then I will use it intranslations
subgraph to generate a new value based on original value.For example: if
name
field fromproducts
subgraph isIPhone
, I need to modify it for example like:IPhone (EN)
.Is it possible to achieve what I am trying to do ?
The text was updated successfully, but these errors were encountered: