-
Notifications
You must be signed in to change notification settings - Fork 99
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
Should MutableObjectTypeAdapter be setting description? #697
Comments
I don't see |
Thanks for the response, I see |
Checked on master, and i got the same error (using the constructor). Again i'm more just trying to learn how custom type mappers work at this point rather than this being an actual issue. This can be closed if thats best, thanks.
|
So, that |
I'm just trying to get my head around this library works, I tried adding a static type defition mapping like so:
When I run
SchemaPrinter::doPrint($schema);
And I get an error that there is no
description
set on theMutableObjectTypeAdapter
that is wrappingExampleOutputType
. It appears the printer calls $def->description even though the mutable object type adapter never sets a description.Guessing i'm trying to use the static type mapper incorrectly, but figured i'd ask, thanks!
The text was updated successfully, but these errors were encountered: