This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { | |
Directive, | |
Field, | |
GraphQLISODateTime, | |
ID, | |
ObjectType, | |
registerEnumType, | |
} from '@nestjs/graphql'; | |
import { FilterableField, IDField } from '@ptc-org/nestjs-query-graphql'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { | |
Directive, | |
Field, | |
GraphQLISODateTime, | |
ID, | |
ObjectType, | |
registerEnumType, | |
} from '@nestjs/graphql'; | |
import { IRoom, IRoomDatabaseEntity, RoomType } from '@core'; | |
import { FilterableField, IDField } from '@ptc-org/nestjs-query-graphql'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Directive, ID, ObjectType, registerEnumType } from '@nestjs/graphql'; | |
import { FilterableField, IDField } from '@ptc-org/nestjs-query-graphql'; | |
import { IUser, UserRole } from '@core'; | |
@ObjectType() | |
@Directive('@key(fields: "id")') | |
export class UserDto implements Omit<IUser, 'password' | 'hashedRefreshToken'> { | |
@IDField(() => ID) | |
id: string; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ rover supergraph compose --config ./supergraph.yaml -o supergraph.graphql | |
resolving SDL for subgraphs defined in ./supergraph.yaml | |
composing supergraph with Federation v2.3.2.exe | |
error[E029]: Encountered 28 build errors while trying to build a supergraph. | |
Caused by: | |
UNKNOWN: The following supergraph API query: | |
mutation { | |
refreshToken { | |
user { |