Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

fix(graphql-serve): print-schema command was not working #2026

Merged
merged 1 commit into from Sep 10, 2020

Conversation

machi1990
Copy link
Contributor

The command was broken cause of the wrong import statement.

This caused an undefined error.

To verify:

Build the current master and launch the print schema command:

cd packages/graphql-serve/dist/
node index.js print-schema templates/ts-apollo-mongodb-datasync-backend/model/datamodel.graphql

Apply the patch, build and re-launch the command.

The command was broken cause of the wrong import statement.

This caused an `undefined` error.

To verify:

Build the current master and launch the print schema command:

```bash
cd packages/graphql-serve/dist/
node index.js print-schema templates/ts-apollo-mongodb-datasync-backend/model/datamodel.graphql
```

Apply the patch, build and re-launch the command.
@machi1990
Copy link
Contributor Author

/cc @craicoverflow this follows up #2005

@machi1990 machi1990 self-assigned this Sep 10, 2020
@machi1990 machi1990 added the cli label Sep 10, 2020
@craicoverflow craicoverflow merged commit 72f4583 into aerogear:master Sep 10, 2020
@machi1990 machi1990 deleted the fix/print-schema branch September 10, 2020 08:06
@wtrocki
Copy link
Contributor

wtrocki commented Sep 10, 2020

Is this requirement for release?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants