-
Notifications
You must be signed in to change notification settings - Fork 668
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
Auto-detection of used types not working #6395
Comments
Can you try setting |
Hey @martinbonnin. All types are still generated with |
Oh well, that is surprising. You don't happen to have a reproducer around, do you? |
So I did try here and looks like it's working as expected:
|
thanks for checking! and you're absolutely right, not all types are generated, however it does seem that unused types which implement our Relay-style |
Are you using a custom directive maybe? Like |
we are yes, |
That might be it, although it's hard to tell without more details. Can you share more about your project? |
Another option might be data builders. Those also generate extra code. |
we are using a type which implements |
With data builders, it's the case indeed. That's because we can't build interfaces, we have to build concrete object types. So its building the data builders code for all the implementations. If everything extends from |
Version
4.1.1
Summary
We've added
isADependencyOf
as documented here however we're still seeing all schema types are being generated.Steps to reproduce the behavior
Follow setup and auto-detection of used types as per docs
The text was updated successfully, but these errors were encountered: