Skip to content

Commit

Permalink
fix(client): unify aggregate type names
Browse files Browse the repository at this point in the history
  • Loading branch information
timsuchanek committed Jul 13, 2020
1 parent f7449f2 commit 95ba5fb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/packages/client/src/generation/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,15 @@ export function getAggregateInputType(aggregateOutputType: string): string {
}

export function getAggregateArgsName(modelName: string): string {
return `Aggregate${modelName}Args`
return `Aggregate${capitalize(modelName)}Args`
}

export function getAggregateGetName(modelName: string): string {
return `Get${modelName}AggregateType`
return `Get${capitalize(modelName)}AggregateType`
}

export function getAggregateScalarGetName(modelName: string): string {
return `Get${modelName}AggregateScalarType`
return `Get${capitalize(modelName)}AggregateScalarType`
}

export function getIncludeName(modelName: string): string {
Expand Down

0 comments on commit 95ba5fb

Please sign in to comment.