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
After update to latest 4-th version, it seems that enable_federation method (https://github.com/rkudryashov/graphql-rust-demo/blob/master/auth-service/src/lib.rs#L54) doesn't force generation of _service entry point. This is needed for services that don't have Federation stuff/distributed types, but nevertheless are used as downstream service behind Federation gateway.
Expected Behavior
{
_service {
sdl
}
}
Returns SDL
Actual Behavior
Request above returns:
{
"data": null,
"errors": [
{
"message": "Unknown field \"_service\" on type \"Query\".",
"locations": [
{
"line": 2,
"column": 3
}
]
}
]
}
The text was updated successfully, but these errors were encountered:
After update to latest 4-th version, it seems that
enable_federation
method (https://github.com/rkudryashov/graphql-rust-demo/blob/master/auth-service/src/lib.rs#L54) doesn't force generation of_service
entry point. This is needed for services that don't have Federation stuff/distributed types, but nevertheless are used as downstream service behind Federation gateway.Expected Behavior
Returns SDL
Actual Behavior
Request above returns:
The text was updated successfully, but these errors were encountered: