Skip to content

Commit f92b97d

Browse files
authored
Dev UI: always produce JsonRPCProvidersBuildItem (#137)
This is due to an upcoming change in Execution Model Validation [1] where we need the `JsonRPCProvidersBuildItem` produced always, not only in dev mode. JSON RPC providers can use execution model affecting annotations, so we need to know about them, otherwise a non-dev build would fail with an incorrect validation error. [1] quarkusio/quarkus#46965
1 parent 44dce5e commit f92b97d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deployment/src/main/java/io/quarkiverse/embedded/postgresql/deployment/devui/EmbeddedPostgreSQLDevUIProcessor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ void createVersion(BuildProducer<CardPageBuildItem> cardPageBuildItemBuildProduc
2929
cardPageBuildItemBuildProducer.produce(card);
3030
}
3131

32-
@BuildStep(onlyIf = IsDevelopment.class)
32+
@BuildStep
3333
JsonRPCProvidersBuildItem createJsonRPCService() {
3434
return new JsonRPCProvidersBuildItem(EmbeddedPostgreSQLJsonRpcService.class);
3535
}

0 commit comments

Comments
 (0)