Could I get a quick brain dump of how the config r...
# contribute-code
g
Could I get a quick brain dump of how the config resolver works? https://github.com/linkedin/datahub/blob/master/datahub-graphql-core/src/main/java[…]inkedin/datahub/graphql/resolvers/config/AppConfigResolver.java I'm struggling to understand the connection to: https://github.com/linkedin/datahub/blob/master/datahub-graphql-core/src/main/java/com/linkedin/datahub/graphql/GmsGraphQLEngine.java Specifically stuff like:
Copy code
InputStream is = Thread.currentThread().getContextClassLoader().getResourceAsStream(INGESTION_SCHEMA_FILE);
It looks like we register a GraphQL endpoint, and store an environment variable to that endpoint. The GraphQLEngine is querying that endpoint and resolving the string value. Is that right? Seems like a lot of layers to plumb through to get a config value
b
For which config? The Gitversion should not make downstream calls
The GMS GraphQL engine is simply where we register the GraphQL schéma and wire up resolvers for all Queries and Mutations