Skip to content

updates#1209

Merged
pyramation merged 7 commits into
mainfrom
up/may21
May 21, 2026
Merged

updates#1209
pyramation merged 7 commits into
mainfrom
up/may21

Conversation

@pyramation
Copy link
Copy Markdown
Contributor

No description provided.

@socket-security
Copy link
Copy Markdown

socket-security Bot commented May 21, 2026

graphql@16.13.0 has stricter type definitions where GraphQLNamedType is
no longer implicitly assignable to GraphQLOutputType or GraphQLInputType.

Add explicit type assertions in:
- graphile-bulk-mutations: cast payload/input types from getTypeByName
- graphile-connection-filter: cast filter type and nodeType
- graphile-postgis: cast GeoJSON type, interface arrays, and
  getPostgisTypeByGeometryType return value
Cast getTypeByName and getGraphQLTypeByPgCodec returns in:
- ConnectionFilterAttributesPlugin (OperatorsType)
- ConnectionFilterComputedAttributesPlugin (OperatorsType)
- ConnectionFilterCustomOperatorsPlugin (codecGraphQLType)
@blacksmith-sh
Copy link
Copy Markdown
Contributor

blacksmith-sh Bot commented May 21, 2026

Found 1 test failure on Blacksmith runners:

Failure

Test View Logs
tests/bulk-mutations.test.ts/bulk-mutations.test View Logs

Fix in Cursor

Cast getTypeByName and getGraphQLTypeByPgCodec returns in:
- BulkInsertPlugin, BulkUpdatePlugin, BulkUpsertPlugin
- BulkTypesPlugin (all input/output field type references)
- BulkRelationalPlugin (nested input type and codec type)
@pyramation pyramation merged commit db2ffe8 into main May 21, 2026
38 checks passed
@pyramation pyramation deleted the up/may21 branch May 21, 2026 22:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant