graphql-kit / graphql-faker

🎲 Mock or extend your GraphQL API with faked data. No coding required.
MIT License
2.69k stars 225 forks source link

v2.0.0-rc20 #119

Closed Antiarchitect closed 4 years ago

Antiarchitect commented 4 years ago
docker run --rm -it apisguru/graphql-faker:v2.0.0-rc.20 --extend https://api-ci.stages.k8s.enapter.ninja/graphql
Unable to find image 'apisguru/graphql-faker:v2.0.0-rc.20' locally
v2.0.0-rc.20: Pulling from apisguru/graphql-fakercbdbe7a5bc2a: Already exists
4b0cddaf9d69: Already exists
63fc8294ef6b: Already exists
7d5b7d51bbb9: Already exists
a1a7e9f49854: Pull complete
5b86c6b50aa6: Pull complete
Digest: sha256:8fb479f7f63ab24e6aca7e6509639cc5866c1698e749a661836139c4f5627dae
Status: Downloaded newer image for apisguru/graphql-faker:v2.0.0-rc.20
Default file ./schema_extension.faker.graphql is used. Specify [file] parameter to change.

Your schema constains a validation error:

Cannot extend type "_Query_" because it is not defined. Did you mean "Query"?

./schema_extension.faker.graphql:13:13
12 |
13 | extend type _Query_ {
   |             ^
14 |   pet: Pet

Using local npm package all is ok.

[Finished: 2020-06-02 10:20:26.117836098+03:00][Spent: 7.555s]--------------------------------------------------------
[/home/andrey] >>> graphql-faker --extend https://api-ci.stages.k8s.enapter.ninja/graphql
Default file ./schema_extension.faker.graphql is used. Specify [file] parameter to change.

✔ Your GraphQL Fake API is ready to use 🚀
  Here are your links:

  ❯ Interactive Editor: http://localhost:9002/editor
  ❯ GraphQL API:        http://localhost:9002/graphql
Antiarchitect commented 4 years ago

@IvanGoncharov

IvanGoncharov commented 4 years ago

@Antiarchitect Release new version right now. Before running graphql-faker can you please delete schema_extension.faker.graphql and test it one more time?

Antiarchitect commented 4 years ago

I confirm that v2.0.0-rc.21 works!

IvanGoncharov commented 4 years ago

@Antiarchitect Great to hear 🎉