I’m using graphcool instead of prism and i want to sort my data (e.g. Items which have coordinates saved in the db) with a query based on a dynamic value/params like coordinates of the user. The approach i’m thinking of is extending Query
extend type Query {
allItemsWithDistance(lat: Float, lng: Float): ItemPayload
}
will this work with subscription?