Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace apollo-cli by Rover in export-graphql-schema.rst #8009

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fungiboletus
Copy link
Contributor

Description

The apollo service:* commands are deprecated. It is now advised by Apollo to use their Rover CLI tool instead. I updated the documentation accordingly.

The apollo command line utility is also broken on many NodeJs installations, while Apollo Rover works as expected.

Affected components

  • Docs

Metadata

Does this PR add a new Metadata feature?

  • No
  • Yes
    • Does run_sql auto manages the new metadata through schema diffing?
      • Yes
      • Not required
    • Does run_sql auto manages the definitions of metadata on renaming?
      • Yes
      • Not required
    • Does export_metadata/replace_metadata supports the new metadata added?
      • Yes
      • Not required

GraphQL

  • No new GraphQL schema is generated
  • New GraphQL schema is being generated:
    • New types and typenames are correlated

Breaking changes

  • No Breaking changes

  • There are breaking changes:

    1. Metadata API

      Existing query types:

      • Modify args payload which is not backward compatible
      • Behavioural change of the API
      • Change in response JSON schema
      • Change in error code
    2. GraphQL API

      Schema Generation:

      • Change in any NamedType
      • Change in table field names

      Schema Resolve:-

      • Change in treatment of null value for any input fields
    3. Logging

      • Log JSON schema has changed
      • Log type names have changed

The `apollo service:*` commands [are deprecated](https://www.apollographql.com/docs/devtools/cli/). It is now advised by Apollo to use their [Rover](https://www.apollographql.com/docs/rover/) CLI tool instead. I updated the documentation accordingly.

[The `apollo` command line utility is also broken on many NodeJs installations](apollographql/apollo-tooling#2415), while Apollo Rover works as expected.
@fungiboletus fungiboletus requested a review from a team as a code owner January 10, 2022 10:45
@hasura-bot
Copy link
Contributor

Beep boop! 🤖

Hey @fungiboletus, thanks for your PR!

One of my human friends will review this PR and get back to you as soon as possible.

Stay awesome! 😎

@CLAassistant
Copy link

CLAassistant commented Jan 10, 2022

CLA assistant check
All committers have signed the CLA.

@netlify
Copy link

netlify bot commented Jan 10, 2022

✔️ Deploy Preview for hasura-docs ready!

🔨 Explore the source changes: 5baef75

🔍 Inspect the deploy log: https://app.netlify.com/sites/hasura-docs/deploys/61dc0e326b0349000702f25e

😎 Browse the preview: https://deploy-preview-8009--hasura-docs.netlify.app

@fungiboletus
Copy link
Contributor Author

CLA assistant check
All committers have signed the CLA.

I'm not a fan of having to sign a CLA but I did because I really like Hasura, otherwise I would have skipped.

THE BEST RUN SAP

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.

None yet

3 participants