graphql-java-tools icon indicating copy to clipboard operation
graphql-java-tools copied to clipboard

Support for partial implemented schemas

Open sazzer opened this issue 8 years ago • 2 comments

When I'm just getting started, I personally find it useful to write out the schema and then run graphiql against it to test out queries. Unfortunately I need to write data classes for the entire schema in order to even start the application, which makes this very tedious. Being able to configure it to not care about this would be helpful so that it can be built a piece at a time.

sazzer avatar Jul 10 '17 23:07 sazzer

I like this idea - would it just throw exceptions if you tried to request a field that didn't have an associated object?

apottere avatar Jul 11 '17 16:07 apottere

I've no idea to be honest. That's the most obvious solution, but returning null - if the field supports that - could make sense too.

On Tue, 11 Jul 2017 at 17:45 Andrew Potter [email protected] wrote:

I like this idea - would it just throw exceptions if you tried to request a field that didn't have an associated object?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/graphql-java/graphql-java-tools/issues/39#issuecomment-314504044, or mute the thread https://github.com/notifications/unsubscribe-auth/AAECGE39CFPM5UY7bWj_kxu6qOyVgZz3ks5sM6bAgaJpZM4OTjl5 .

sazzer avatar Jul 11 '17 16:07 sazzer