-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fetch speaker list from the network #239
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,7 +51,10 @@ apollo { | |
|
||
introspection { | ||
schemaFile.set(file("src/commonMain/graphql/schema.graphqls")) | ||
endpointUrl.set("https://androidmakers-2023.ew.r.appspot.com/graphql") | ||
endpointUrl.set("https://confetti-app.dev/graphql") | ||
|
||
// This header is not needed to fetch the schema but it's read by the Apollo IDE plugin which will inject it when executing queries | ||
headers.set(mapOf("conference" to "androidmakers2024")) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is this required for introspection? I would hope the schema does not depend on the conference There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No but the IJ plugin also looks at these headers and inject them when running queries from the UI :) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I see. Well this is a bit surprising. Might adding a comment? |
||
} | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch 👍