strawberry-graphql / federation-demo Goto Github PK
View Code? Open in Web Editor NEWApollo Federation x Strawberry GraphQL
License: MIT License
Apollo Federation x Strawberry GraphQL
License: MIT License
I'm getting the following errors when i start with docker-compose up
...
books_1 | field = StrawberryField(
books_1 | File "/usr/local/lib/python3.10/site-packages/strawberry/field.py", line 56, in init
books_1 | super().init( # type: ignore
books_1 | TypeError: Field.init() missing 1 required positional argument: 'kw_only'
....
reviews_1 | field = StrawberryField(
reviews_1 | File "/usr/local/lib/python3.10/site-packages/strawberry/field.py", line 56, in init
reviews_1 | super().init( # type: ignore
reviews_1 | TypeError: Field.init() missing 1 required positional argument: 'kw_only'
...
gateway_1 | Polling running services is dangerous and not recommended in production. Polling should only be used against a registry. If you are polling running services, use with caution.
gateway_1 | โ Unable to start gateway Error: Couldn't load service definitions for "books" at http://books:8000/graphql: request to http://books:8000/graphql failed, reason: connect ECONNREFUSED 172.26.0.2:8000
gateway_1 | at /app/node_modules/@apollo/gateway/src/loadServicesFromRemoteEndpoint.ts:73:15
gateway_1 | at processTicksAndRejections (node:internal/process/task_queues:96:5)
gateway_1 | at async Promise.all (index 0)
gateway_1 | at async Object.getServiceDefinitionsFromRemoteEndpoint (/app/node_modules/@apollo/gateway/src/loadServicesFromRemoteEndpoint.ts:77:30)
gateway_1 | at async ApolloGateway.updateSchema (/app/node_modules/@apollo/gateway/src/index.ts:423:20)
gateway_1 | at async ApolloGateway.loadDynamic (/app/node_modules/@apollo/gateway/src/index.ts:403:7)
gateway_1 | at async ApolloGateway.load (/app/node_modules/@apollo/gateway/src/index.ts:361:9)
gateway_1 | [nodemon] clean exit - waiting for changes before restart
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.