Skip to content

Commit

Permalink
refactor(generator): kind map clean up (#1207)
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonkuhrt authored Oct 21, 2024
1 parent 9e5a0ad commit 7a322d8
Show file tree
Hide file tree
Showing 60 changed files with 2,922 additions and 2,820 deletions.
2 changes: 1 addition & 1 deletion src/extensions/SchemaErrors/generator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,5 @@ export const SchemaErrors = (input?: Input) => {

// todo memoize
const getErrorObjects = (config: Config, genConfig: GeneratorConfig) => {
return Object.values(genConfig.schema.kindMap.GraphQLObjectType).filter(config.isErrorType)
return Object.values(genConfig.schema.kindMap.OutputObject).filter(config.isErrorType)
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type * as Data from './Data.js'
import type * as MethodsDocument from './MethodsDocument.js'
import type * as MethodsRoot from './MethodsRoot.js'
import type * as MethodsSelect from './MethodsSelect.js'
import type * as Scalar from './Scalar.js'
import type * as $Scalar from './Scalar.js'
import type { Schema } from './Schema.js'

declare global {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export interface Query {
//
//
// ==================================================================================================
// Object
// OutputObject
// ==================================================================================================
//
//
Expand Down
Loading

0 comments on commit 7a322d8

Please sign in to comment.