Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Weakky
Copy link
Collaborator

@Weakky Weakky commented Jul 22, 2020

closes #981

TODO

  • docs
    • jsdoc
    • website api
    • website guides
    • website tutorial
    • breaking changes
  • tests

Features:

  • New rich settings for GraphQL Playground

BREAKING CHANGE:

  • Playground handler is removed

    Nexus will serve GraphQL requests on this same path. Only client GET requests with the accept: text/html header will get back the Playground response.

  • Playground settings no longer has the endpoint option (as the playground is always hosted on the same path as the graphql api)

  • Default path is changed from / to /graphql

    This aligns with defaults in the Node GraphQL ecosystem. If you find this default annoying and would prefer it to remain / please share that feedback!

  • esModuleInterop required

    This is an artifact of the new cors and ws dependencies. This shouldn't be a breaking change because Nexus will handle the tsconfig update for you in memory. But Nexus does not manually update the tsconfig on disk yet and so you will need to do that part yourself to remove the Nexus warning.

@Weakky Weakky changed the title Make apollo-server-express the default server [WIP] Make apollo-server-express the default server Jul 22, 2020
@Weakky Weakky force-pushed the feat/apollo-server-express branch from eabac03 to 941ce28 Compare July 22, 2020 16:26
@Weakky Weakky force-pushed the feat/apollo-server-express branch from 941ce28 to c5f4658 Compare July 22, 2020 16:27
@jasonkuhrt jasonkuhrt changed the title [WIP] Make apollo-server-express the default server feat: apollo-server-express as default server Jul 23, 2020
@jasonkuhrt
Copy link
Member

@Weakky sorry I converted this from [wip] pr title to semantic compatible b/c I thought the tests would pass. Converting this to a draft to try and restore what you were saying but without breaking conventional commit.

@jasonkuhrt jasonkuhrt marked this pull request as draft July 23, 2020 12:33
@jasonkuhrt jasonkuhrt marked this pull request as ready for review July 23, 2020 14:37
@Weakky Weakky merged commit 9a080d9 into master Jul 23, 2020
@Weakky Weakky deleted the feat/apollo-server-express branch July 23, 2020 15:47
@krailler
Copy link

Is this feat bumped to npm?

@jasonkuhrt
Copy link
Member

@krailler on canary now (next). Options aren't fully exposed yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants