Closed lpichler closed 3 years ago
Would we want a spec ( or maybe we have on in the API repos ) that proves introspection doesn't work when the
disable_introspection_entry_points
config value is set?
yes, that's right and now I added also this case to specs, thanks @syncrou!
This allows to make GraphQL erb(model_type.erb, query_type.erb, schema.erb) templates configurable in repo(For example in sources-api) where is insights-api-common-rails gem used and templates live in location
./api/common/graphql/templates
in remote repos.Example: So if you want override GraphQL schema for source-api, you need to create file in source-api repo like is this PR.
Links
Together with TOPO PR and Sources PR fixes: https://issues.redhat.com/browse/RHCLOUD-11179 and disables GraphQL introspection in source/topo APIs.