Skip to content

Re-enable TCK Tests and implement spec features - #2392

Draft
phillip-kruger wants to merge 2 commits into
smallrye:mainfrom
phillip-kruger:dust-off
Draft

Re-enable TCK Tests and implement spec features#2392
phillip-kruger wants to merge 2 commits into
smallrye:mainfrom
phillip-kruger:dust-off

Conversation

@phillip-kruger

@phillip-kruger phillip-kruger commented Jan 30, 2026

Copy link
Copy Markdown
Member

Bump microprofile-graphql to 2.1-SNAPSHOT and re-enable the TCK tests that were previously skipped, removing all override files that are no longer needed.

Implement two features added to the spec:

  • @Source.value() support for custom field names (preferred over the deprecated @Source.name())
  • JSON default values rendered as AST literals in the schema via a new DefaultValueAstHelper

Migrate @subscription from the SmallRye-specific annotation to org.eclipse.microprofile.graphql.Subscription with backward compatibility for the old annotation across server and client.

Add Flow.Publisher support alongside org.reactivestreams.Publisher for subscription methods.

Also fix the micrometer property name typo and remove stale commented-out client dependency block from the parent pom.

@phillip-kruger phillip-kruger changed the title Re-enable TCK Tests Re-enable TCK Tests and some features moved to Spec Feb 1, 2026
@phillip-kruger
phillip-kruger force-pushed the dust-off branch 2 times, most recently from 6fa5eda to 6f11082 Compare June 30, 2026 01:05
@phillip-kruger phillip-kruger changed the title Re-enable TCK Tests and some features moved to Spec Re-enable TCK Tests and implement spec features Jun 30, 2026
@phillip-kruger
phillip-kruger force-pushed the dust-off branch 2 times, most recently from b6c4080 to 9dfda80 Compare July 2, 2026 00:52
phillip-kruger and others added 2 commits July 20, 2026 14:30
Bump microprofile-graphql to 2.1-SNAPSHOT and re-enable the TCK tests
that were previously skipped, removing all override files that are no
longer needed.

Implement two features added to the spec:
- @Source.value() support for custom field names (preferred over the
  deprecated @Source.name())
- JSON default values rendered as AST literals in the schema via a new
  DefaultValueAstHelper

Migrate @subscription from the SmallRye-specific annotation to
org.eclipse.microprofile.graphql.Subscription with backward
compatibility for the old annotation across server and client.

Add Flow.Publisher support alongside org.reactivestreams.Publisher
for subscription methods.

Also fix the micrometer property name typo and remove stale
commented-out client dependency block from the parent pom.

Signed-off-by: Phillip Kruger <phillip.kruger@gmail.com>
Replace all jakarta.json (JSON-P) usage with Jackson across the
server API, implementation, servlet, CDI, and test modules.

Key changes:
- Context API returns ObjectNode/ArrayNode instead of JsonObject/JsonArray
- ErrorExtensionProvider returns JsonNode instead of JsonValue
- ExecutionService accepts ObjectNode instead of JsonObject
- WebSocket handlers and ExecutionServlet parse/build with Jackson
- Remove bridge methods (getExecutionResultAsJsonPObject, etc.)
- Delete JsonProviderHolder
- Remove jakarta.json-api dependency from server modules
- Update TestInterceptor to use Jackson (requires MP GraphQL TCK
  PR microprofile/microprofile-graphql#598)

The only remaining jakarta.json import is CurrencyAdapter.java in
schema-builder tests (JSON-B adapter boundary).
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