@nestjs/graphql#Float TypeScript Examples
The following examples show how to use
@nestjs/graphql#Float.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: FloatFilter.ts From amplication with Apache License 2.0 | 6 votes |
@ApiProperty({
required: false,
type: Number,
})
@IsOptional()
@Field(() => [Float], {
nullable: true,
})
@Type(() => Number)
in?: number[];
Example #2
Source File: nested-float-nullable-with-aggregates-filter.input.ts From prisma-nestjs-graphql with MIT License | 5 votes |
@Field(() => Float, { nullable: true })
gte?: number;
Example #3
Source File: game.entity.ts From game-store-monorepo-app with MIT License | 5 votes |
@Field((type) => Float, { nullable: true })
rating?: number;
Example #4
Source File: nested-float-filter.input.ts From prisma-nestjs-graphql with MIT License | 5 votes |
@Field(() => Float, { nullable: true })
equals?: number;