-
Notifications
You must be signed in to change notification settings - Fork 348
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Arda TANRIKULU <[email protected]>
- Loading branch information
1 parent
d5a4e9a
commit be79b20
Showing
124 changed files
with
28,942 additions
and
170,666 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- | ||
"@graphql-mesh/openapi": patch | ||
--- | ||
|
||
dependencies updates: | ||
|
||
- Added dependency [`@omnigraph/[email protected]` ↗︎](https://www.npmjs.com/package/@omnigraph/openapi/v/0.11.2) (to `dependencies`) | ||
- Removed dependency [`@graphql-mesh/[email protected]` ↗︎](https://www.npmjs.com/package/@graphql-mesh/cross-helpers/v/0.2.2) (from `dependencies`) | ||
- Removed dependency [`@graphql-mesh/[email protected]` ↗︎](https://www.npmjs.com/package/@graphql-mesh/string-interpolation/v/0.3.2) (from `dependencies`) | ||
- Removed dependency [`@graphql-tools/[email protected]` ↗︎](https://www.npmjs.com/package/@graphql-tools/utils/v/8.10.0) (from `dependencies`) | ||
- Removed dependency [`@whatwg-node/fetch@^0.3.0` ↗︎](https://www.npmjs.com/package/@whatwg-node/fetch/v/null) (from `dependencies`) | ||
- Removed dependency [`[email protected]` ↗︎](https://www.npmjs.com/package/deep-equal/v/2.0.5) (from `dependencies`) | ||
- Removed dependency [`[email protected]` ↗︎](https://www.npmjs.com/package/form-urlencoded/v/6.1.0) (from `dependencies`) | ||
- Removed dependency [`[email protected]` ↗︎](https://www.npmjs.com/package/jsonpath-plus/v/7.0.0) (from `dependencies`) | ||
- Removed dependency [`[email protected]` ↗︎](https://www.npmjs.com/package/json-pointer/v/0.6.2) (from `dependencies`) | ||
- Removed dependency [`[email protected]` ↗︎](https://www.npmjs.com/package/openapi-diff/v/0.23.6) (from `dependencies`) | ||
- Removed dependency [`[email protected]` ↗︎](https://www.npmjs.com/package/graphql-scalars/v/1.18.0) (from `dependencies`) | ||
- Removed dependency [`[email protected]` ↗︎](https://www.npmjs.com/package/pluralize/v/8.0.0) (from `dependencies`) | ||
- Removed dependency [`[email protected]` ↗︎](https://www.npmjs.com/package/qs/v/6.11.0) (from `dependencies`) | ||
- Removed dependency [`[email protected]` ↗︎](https://www.npmjs.com/package/swagger2openapi/v/7.0.8) (from `dependencies`) | ||
- Removed dependency [`[email protected]` ↗︎](https://www.npmjs.com/package/url-join/v/4.0.1) (from `dependencies`) | ||
- Removed dependency [`[email protected]` ↗︎](https://www.npmjs.com/package/openapi-types/v/12.0.0) (from `dependencies`) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
"@graphql-mesh/openapi": minor | ||
"@graphql-mesh/container": patch | ||
"json-machete": patch | ||
"@graphql-mesh/types": patch | ||
--- | ||
|
||
## Breaking changes | ||
|
||
OpenAPI has been completely rewritten based on JSON Schema handler from scratch. It's now more stable and supports more features. However, it produces different output and takes different configuration options. | ||
|
||
Please check the migration guide to learn how to migrate your existing OpenAPI handler configuration. | ||
[Migration Guide from 0.31 to 0.32](https://www.graphql-mesh.com/docs/migration/openapi-0.31-0.32) | ||
|
||
This rewrite has been done under `@graphql-mesh/new-openapi` name so far, and you can check its changelog to see the progress. | ||
[`@graphql-mesh/new-openapi`'s `CHANGELOG`](https://github.com/Urigo/graphql-mesh/blob/99b5691e216b1ae7f46c3db1b3e91345e5351df8/packages/handlers/new-openapi/CHANGELOG.md) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@omnigraph/openapi": minor | ||
--- | ||
|
||
BREAKING CHANGE: instead of oasFilePath, use source instead |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
sources: | ||
- name: PetStore | ||
handler: | ||
newOpenapi: | ||
openapi: | ||
baseUrl: https://petstore.swagger.io/v2/ | ||
oasFilePath: https://petstore.swagger.io/v2/swagger.json | ||
source: https://petstore.swagger.io/v2/swagger.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
sources: | ||
- name: PetStore | ||
handler: | ||
newOpenapi: | ||
openapi: | ||
baseUrl: https://petstore.swagger.io/v2/ | ||
oasFilePath: https://petstore.swagger.io/v2/swagger.json | ||
source: https://petstore.swagger.io/v2/swagger.json | ||
|
||
documents: | ||
- './list-pets.graphql' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 8 additions & 6 deletions
14
examples/openapi-javascript-wiki/example-queries/wikipedia-metrics.graphql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,16 @@ | ||
query wikipediaMetrics { | ||
getMetricsPageviewsAggregateProjectAccessAgentGranularityStartEnd( | ||
access: ALL_ACCESS | ||
agent: USER | ||
metrics_pageviews_aggregate_by_project_by_access_by_agent_by_granularity_by_start_by_end( | ||
access: all_access | ||
agent: user | ||
start: "20200101" | ||
end: "20200226" | ||
project: "en.wikipedia.org" | ||
granularity: DAILY | ||
granularity: daily | ||
) { | ||
items { | ||
views | ||
... on pageview_project { | ||
items { | ||
views | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.
be79b20
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
graphql-mesh – ./
graphql-mesh-azure.vercel.app
graphql-mesh.com
graphql-mesh-git-master-theguild.vercel.app
www.graphql-mesh.com
graphql-mesh-theguild.vercel.app