-
Notifications
You must be signed in to change notification settings - Fork 312
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding pluggable SPI for schema resolution. #218
Conversation
@joshlong There's already |
Indeed, that has been possible since M3, after #124. Closing for now, but if you run into issues with it, feel free to comment and we'll re-open if needed. |
Hi - the It adds to the
I can do the following hacky thing to detect if I'm running inside a GraalVM native image, and therefore only contribute the
|
Okay, I see. We can add an option on Builder schemaResources(Consume<List<Resource>> resourcesConsumer); |
To me this should be something native images should support (listing resources under a particular location). I'll need to experiment a bit. This might be a problem with our own |
Okay, it makes sense to get to the bottom of the problem. I figured, having more control over the list of resources makes sense on its own, but better to see if it is really needed. |
Hi - i'd like to be able to source the schema for the GraphQLSource from different places. And, specifically, I'd like to be able to hard code the resolution of the resources so that things work well in a GraalVM context. This adds an interface to support the strategy