I have an API that accepts an object as an API property for a GET request.
@ApiProperty()
@IsOptional()
RegistrationYear: { $gte: number; $lte: number };
How do I encode this object into the query params of an HTTP Get Call?
I have already encoded Arrays like &arrayName[]=value in the past but I don't know the synthax that NestJS will accept for Objects.