hotfix: fixing type errors in backend graphql layer (HBE-174) (#45)
* chore: added the nest graphql fix for making it use Int over Float * chore: changed the type of cursor to Int in PaginationArgs * chore: fixed description mismatch in rootUserCreation functions in UserCollection module * chore: removed unused title type in UserRequest input-args * fix: added ID scaler in user-request input type * fix: added ID scaler in team-invitation and user-history --------- Co-authored-by: Mir Arif Hasan <arif.ishan05@gmail.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { Args, Mutation, Resolver, Subscription } from '@nestjs/graphql';
|
||||
import { Args, ID, Mutation, Resolver, Subscription } from '@nestjs/graphql';
|
||||
import { UserHistoryService } from './user-history.service';
|
||||
import { PubSubService } from '../pubsub/pubsub.service';
|
||||
import { UserHistory } from './user-history.model';
|
||||
@@ -59,6 +59,7 @@ export class UserHistoryResolver {
|
||||
@Args({
|
||||
name: 'id',
|
||||
description: 'ID of User History',
|
||||
type: () => ID,
|
||||
})
|
||||
id: string,
|
||||
): Promise<UserHistory> {
|
||||
@@ -77,6 +78,7 @@ export class UserHistoryResolver {
|
||||
@Args({
|
||||
name: 'id',
|
||||
description: 'ID of User History',
|
||||
type: () => ID,
|
||||
})
|
||||
id: string,
|
||||
): Promise<UserHistory> {
|
||||
|
||||
Reference in New Issue
Block a user