Skip to content

Feedback for “Basic Types” #4330

Open
@eldoy

Description

@eldoy

This part of your documentation is kind of worthless:

var app = express()
app.all(
  "/graphql",
  createHandler({
    schema: schema,
    rootValue: root,
  })
)
app.listen(4000)

Why do you keep repeating that in every example? The source should be there instead, the actual query. I don't use express and never will, and you're hiding how it actually works behind thie createHandler function.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions