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
I was wondering if it's possible to use centralized schema stitching w/o using gateway. Using centralized stitching example as a reference, suppose we try to extend product type to include inventory, reviews service data.
Something like this. Define a Stitching.graphql in product service
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I was wondering if it's possible to use centralized schema stitching w/o using gateway. Using centralized stitching example as a reference, suppose we try to extend product type to include inventory, reviews service data.
Something like this. Define a
Stitching.graphql
in product serviceChange registration in product service's
Startup.cs
toWith this setup, trying to query extended product data fails with error
Is this supported, or am I doing it wrong ?
UPDATE
It seems that
$fields:upc
is not getting "resolved" to be passed to inventory. If I hard code upc value of 3I can successfully query extended product data & get the expected results.
Beta Was this translation helpful? Give feedback.
All reactions