using Features.Breweries.Dtos; using MediatR; namespace Features.Breweries.Queries.GetBreweryLocationsWithinRange; /// /// Retrieves brewery posts with a set location within of the given /// coordinates, nearest first. Bound directly from the query string of /// GET /api/brewery/locations/nearby. /// /// The origin latitude, in decimal degrees. /// The origin longitude, in decimal degrees. /// The maximum distance, in metres, from the origin coordinates. public record GetBreweryLocationsWithinRangeQuery(double Latitude, double Longitude, double RangeInMetres) : IRequest>;