Jan Martiska

Results 138 comments of Jan Martiska

Not sure how to handle this, unions seem to be quite hard to handle with typesafe clients. If we were able to reliably deduce the actual type in the response...

We will also have to include inline fragments to be able to specify what to select per each possible type in the union. The generated query would have to be...

@t1 no, I still haven't had much time to look into it and there definitely are some leaks. Because support for multiple MP applications in WildFly is generally best-effort only,...

If you're using my feature pack in WildFly, this should not be an issue: https://github.com/wildfly-extras/wildfly-graphql-feature-pack/blob/1.1.0.Final/subsystem/src/main/java/org/wildfly/extension/microprofile/graphql/deployment/GraphiQLUIDeploymentProcessor.java#L113 - basically the deployment processor changes the `render.js` during deployment and overwrites the context root...

> After googling a bit, I'd go with `window.location.href` and then make it relative. I assume that your ~hack~ solution won't be necessary any more ;-) That gives you the...

> hmmm... how does Quarkus do that, then, without patching the render.js? It seems Quarkus performs pretty much the same patching of render.js: https://github.com/quarkusio/quarkus/blob/1.12.2.Final/extensions/smallrye-graphql/deployment/src/main/java/io/quarkus/smallrye/graphql/deployment/SmallRyeGraphQLProcessor.java#L498

That would be cool, I'm just not sure how to do it in a runtime-neutral way (that is without having to do a significant amount of wiring on the runtime...

The problem I see is that this basically makes the set of constraints dynamic, while our schema is static. How would we be able to generate a single schema if...

We would have to scan the application to find out that, for example, one class contains a nullable field when used as part of one query, but non-nullable when used...

I'll look into this and while at it, try to fix our not-quite-good testing infrastructure for the gradle plugin