upgrade sdk
This commit is contained in:
@ -1,17 +1,12 @@
|
||||
{
|
||||
"projects": {
|
||||
"app": {
|
||||
"name": "app",
|
||||
"schemaPath": "generated/wundergraph.app.schema.graphql",
|
||||
"extensions": {
|
||||
"endpoints": {
|
||||
"app": {
|
||||
"introspect": false,
|
||||
"url": "http://localhost:9991/app/main/graphql",
|
||||
"headers": {
|
||||
"user-agent": "WunderGraph Client"
|
||||
}
|
||||
}
|
||||
"project": {
|
||||
"schemaPath": "generated/wundergraph.schema.graphql",
|
||||
"extensions": {
|
||||
"endpoint": {
|
||||
"introspect": false,
|
||||
"url": "http://localhost:9991/graphql",
|
||||
"headers": {
|
||||
"user-agent": "WunderGraph Client"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,5 +1,4 @@
|
||||
import {
|
||||
Application,
|
||||
configureWunderGraphApplication,
|
||||
cors,
|
||||
EnvironmentVariable,
|
||||
@ -14,14 +13,9 @@ const weather = introspect.graphql({
|
||||
url: "https://graphql-weather-api.herokuapp.com/",
|
||||
});
|
||||
|
||||
const myApplication = new Application({
|
||||
name: "app",
|
||||
apis: [weather],
|
||||
});
|
||||
|
||||
// configureWunderGraph emits the configuration
|
||||
configureWunderGraphApplication({
|
||||
application: myApplication,
|
||||
apis: [weather],
|
||||
server,
|
||||
operations,
|
||||
codeGenerators: [
|
||||
|
Reference in New Issue
Block a user