Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
import gql from 'graphql-tag';
export const GET_RESULTS = gql`
query GetResults($term: String, $category: String) {
search (
term: $term,
categories: $category,
limit: 50
latitude: 52.237022,
longitude: 21.050440,
radius: 15000
) @connection(key: "search") {
business {
// ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment