Instantly share code, notes, and snippets.

Embed
What would you like to do?
GraphQL Caching Problems
query{
observations(geocode: "38.00,-97.00", unit: METRIC, locale: "en-US") {
temperature,
feelsLike,
snowDepth
},
astro(locId:"38.00,-97.00", language:"en-US", min:0, max:3) {
dateLocal,
sun {
riseSet {
riseLocal,
setLocal
}
}
}
}
{
observations(geocode: "38.00,-97.00", unit: METRIC, locale: "en-US") {
temperature,
feelsLike,
snowDepth
},
astro(locId:"38.00,-97.00", language:"en-US", min:0, max:3) {
dateLocal,
sun {
riseSet {
riseLocal,
setLocal
}
}
}
}
query{
observations(geocode: "38.00,-97.00", unit: METRIC, locale: "en-US") {
feelsLike,
temperature,
snowDepth
},
astro(locId:"38.00,-97.00", language:"en-US", min:0, max:3) {
dateLocal,
sun {
riseSet {
riseLocal,
setLocal
}
}
}
}
query(location:String!){
observations(geocode:$location, unit: METRIC, locale: "en-US") {
temperature,
feelsLike,
snowDepth
}
astro(locId:$location, language:"en-US", min:0, max:3) {
dateLocal,
}
}
variables{"locations":"38.00,-97.00"}
query{observations(geocode: "38.00,-97.00", unit: METRIC, locale: "en-US") {
temperature,
feelsLike
},
astro(locId:"38.00,-97.00", language:"en-US", min:0, max:3) {
dateLocal,
sun {
riseSet {
riseLocal,
setLocal
}
}
}
}
query{
observations(geocode: "38.00,-97.00", unit: METRIC, locale: "en-US") {
temperature,
feelsLike,
snowDepth,
heatIndex
},
astro(locId:"38.00,-97.00", language:"en-US", min:0, max:3) {
dateLocal,
sun {
riseSet {
riseLocal,
setLocal
}
}
}
}
query{
observations(geocode: "38.00,-97.00", unit: METRIC, locale: "en-US") {
temperature,
feelsLike
},
astro(locId:"38.00,-97.00", language:"en-US", min:0, max:3) {
dateLocal,
sun {
riseSet {
riseLocal,
setLocal
}
}
}
}
query{
observations(geocode: "38.00,-97.00", unit: METRIC, locale: "en-US") {
temperature,
MyTemp: feelsLike,
snowDepth
},
astro(locId:"38.00,-97.00", language:"en-US", min:0, max:3) {
dateLocal,
sun {
riseSet {
riseLocal,
setLocal
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment