question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Gateway and/or federated schema disregard description strings

See original GitHub issue

Packages versions:

  • @apollo/federation@0.6.2
  • @apollo/gateway@0.6.5
  • apollo-server@2.5.1

Expected behaviour:

Description strings (BlockString-style) will be rendered in GraphQL Playground.

Actual behaviour:

Description strings do not render.

However, when I add this schema to a standard Apollo server (no gateway/federation), the description strings appear in GraphQL Playground with their types/fields as expected.

Here’s a sample of the documentation I’ve written for my schema:

"""
An ISO-8601-encoded UTC date string.
"""
scalar DateTime

"""
A user is an account that can create content.
"""
type User @key(fields: "id") {
  "The unique ID of the user."
  id: ID!
  "The date and time the user account was created."     
  createdAt: DateTime!
  "The user's email."
  email: String!
}

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
JacksonKearlcommented, Jun 11, 2019

Hey @mandiwise, thanks for diving into this a bit further! That looks to me like an issue with the parser rather than the original issue of not federating descriptions… but they might end up being the same thing in the end. I’ve created a seperate issue for now though.

0reactions
fu2recommented, Jul 15, 2020

Still persist at 2.15.1

Read more comments on GitHub >

github_iconTop Results From Across the Web

Federation error codes - Apollo GraphQL Docs
The gateway has all of the information it needs to execute operations against the resulting schema. If Apollo Gateway encounters an error, composition...
Read more >
Gateway throws error when federated schema contains ...
When a federated service's schema contains a Subscription type and it's loaded by the Apollo Gateway, the following error is returned:.
Read more >
a database architecture and federated query optimization in a ...
As models and heuristics for both the federated and EAV VSP, to the ... 4.4.1.1 Overview of Operational Expenses in Databases ... DAG...
Read more >
Untitled
Loxten hammerstein, Fox store orland park, Schema corporala, Nuvole bianche ... Smartsvn ignore ancestry, Yellow tall bearded iris, Percentuali su excel, ...
Read more >
Untitled
Clopezi gordo, Vital statistics data definition, Rumah batik celaket malang? ... Hafjell resort og apartments, Duur strings singer, Boston restaurants near ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found