Comments (6)
hi @anar-khalilov I've just published a new release with the changes by @mai00cmi in. I also updated the docker-compose file so you can verify it works.
If you add:
{
+ "disable-introspection": false,
"services": [
"http://gqlgen-server:8080/query",
"http://gophers-server:8080/query",
"http://nodejs-server:8080/query"
]
}
to the config in examples/example-config.json
and run:
docker compose up
You can test this works by making a query to http://localhost:8082/query
, eg:
query {
__type(name: "Foo") {
name
}
__schema {
types {
name
}
}
}
returns:
{
"data": {
"__type": null,
"__schema": null
}
}
from bramble.
Yes, this is a very much needed feature.
from bramble.
Could you please look into this issue, we are having hard time.
from bramble.
Hi @dilip9292 and @anar-khalilov there isn't currently a way to switch this option on, bramble uses the graph-gophers library instead of gqlgen which has a similar option to disable introspection.
You could patch the ExecuteQuery
function in executable_schema.go
to set disableIntrospection
to false on the filteredSchema
value before its passed into newQueryExecution
.
from bramble.
Hi @pkqk, I see a PR has been approved. 👍
I was wondering when the merge will happen to decide to include our task in current sprint or the next one to use this feature.
from bramble.
Thanks a lot. Will try it asap.
from bramble.
Related Issues (20)
- Plugin` configuration doesnt depend on config changes HOT 3
- Differentiate log level depending on "response.status" HOT 4
- Schema being cached? HOT 1
- OperationPermissions dependent on type ID HOT 1
- Cannot access timings HOT 3
- nested abstract fragment error if returned type not queried HOT 5
- Bramble fails to read scheme HOT 2
- Rate limiters on Bramble? HOT 1
- Strict-Transport-Security on Bramble? HOT 1
- Add Datadog graphql trace HOT 8
- Config.json not loaded with docker volume HOT 1
- Allowed headers does not reach sub service HOT 3
- request ip address
- Socket hang up with long running request to service HOT 5
- Consider publising the container versions HOT 3
- Feature Request: Run as Lambda HOT 5
- Feature Request: Shared "utility" types (distinct from boundary types) HOT 6
- Feature Request: @fanout directive HOT 3
- Input types missing default values HOT 2
- Cold Start HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bramble.