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

Migration guide from apollo to Rover #284

Closed
JakeDawkins opened this issue Feb 19, 2021 · 1 comment · Fixed by #425
Closed

Migration guide from apollo to Rover #284

JakeDawkins opened this issue Feb 19, 2021 · 1 comment · Fixed by #425
Labels
docs 📝 improvements or additions to docs on the docs site
Milestone

Comments

@JakeDawkins
Copy link
Contributor

JakeDawkins commented Feb 19, 2021

we need solutions for people moving from apollo to Rover in all kinds of use cases

See #425

@JakeDawkins JakeDawkins added the docs 📝 improvements or additions to docs on the docs site label Feb 19, 2021
@JakeDawkins JakeDawkins changed the title Migration from apollo to Rover Migration guide from apollo to Rover Feb 19, 2021
@JakeDawkins
Copy link
Contributor Author

JakeDawkins commented Feb 19, 2021

multiple schema files

➜  events git:(master) ✗ ll
total 28K
-rw-r--r-- 1 jake jake 433 Feb 18 23:04 company.graphql
-rw-r--r-- 1 jake jake 320 Feb 18 22:59 companyRole.graphql
-rw-r--r-- 1 jake jake 579 Feb 18 23:00 event.graphql
-rw-r--r-- 1 jake jake 166 Feb 18 23:00 index.graphql
-rw-r--r-- 1 jake jake  93 Feb 18 23:00 interfaces.graphql
-rw-r--r-- 1 jake jake 408 Feb 18 23:00 ticket.graphql
-rw-r--r-- 1 jake jake 334 Feb 18 23:01 user.graphql
➜  events git:(master) ✗ cat *.graphql | rover graph check concat-demo-xh74k --schema -
  INFO Validated the proposed subgraph against metrics from concat-demo-xh74k@current
  INFO Compared 1 schema changes against 0 operations
+--------+-------------+---------------------------------------+
| Change | Code        | Description                           |
+--------+-------------+---------------------------------------+
| PASS   | FIELD_ADDED | type `Company`: field `testAdd` added |
+--------+-------------+---------------------------------------+

  INFO View full details here
  INFO https://studio-staging.apollographql.com/service/concat-demo-xh74k/checks/c28b808f-5082-4f9f-bda3-a49d750d5159?schemaTag=current
➜  events git:(master) ✗

typeDefs split up into multiple source files:

  • move the typedefs into their own .graphql files and cat them together before running commands

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs 📝 improvements or additions to docs on the docs site
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants