Skip to content

Commit 464da01

Browse files
committed
chore: remove NodeTypeRegistryPreset and blueprint-types plugin
Remove the NodeTypeRegistryPreset from ConstructivePreset and remove the blueprint-types plugin exports. The node_type_registry table is being removed as code debt - the blueprint executor uses plain JSON and doesn't consume the typed GraphQL inputs this plugin generated. Companion PR in constructive-db removes the table itself.
1 parent bfc62d3 commit 464da01

2 files changed

Lines changed: 0 additions & 13 deletions

File tree

graphile/graphile-settings/src/plugins/index.ts

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -110,14 +110,3 @@ export type {
110110
TrgmAdapterOptions,
111111
PgvectorAdapterOptions,
112112
} from 'graphile-search';
113-
114-
// Node type registry — @oneOf typed input types for blueprint definitions
115-
// Gather-phase plugin queries node_type_registry through existing pgService
116-
export {
117-
NodeTypeRegistryPlugin,
118-
NodeTypeRegistryPreset,
119-
// Legacy exports for backward compatibility
120-
createBlueprintTypesPlugin,
121-
BlueprintTypesPreset,
122-
} from './blueprint-types';
123-
export type { NodeTypeRegistryEntry } from './blueprint-types';

graphile/graphile-settings/src/presets/constructive-preset.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import {
1111
MetaSchemaPreset,
1212
PgTypeMappingsPreset,
1313
RequiredInputPreset,
14-
NodeTypeRegistryPreset,
1514
} from '../plugins';
1615
import { UnifiedSearchPreset, createMatchesOperatorFactory, createTrgmOperatorFactories } from 'graphile-search';
1716
import { GraphilePostgisPreset, createPostgisOperatorFactory } from 'graphile-postgis';
@@ -91,7 +90,6 @@ export const ConstructivePreset: GraphileConfig.Preset = {
9190
SqlExpressionValidatorPreset(),
9291
PgTypeMappingsPreset,
9392
RequiredInputPreset,
94-
NodeTypeRegistryPreset,
9593
],
9694
/**
9795
* Disable PostGraphile core's condition argument entirely.

0 commit comments

Comments
 (0)