-
Notifications
You must be signed in to change notification settings - Fork 23
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
Support deeper types in SchemaInspector #3
Conversation
Hello @jorrit , First of all, thank you for your contribution. I want to understand:
Also, I thought that your code was breaking the test cases, but it turns out that it's actually the new php-graphql-client release that broke one of the test cases. I will release a test for that, then I will need you to rebase your branch on master. Thank you! |
@jorrit Thank you for rebasing your branch. I'm still waiting for your response to my three questions posted ealier to move forward with reviewing this pull request. Thank you! |
Hi Mostafa, I am currently working on them! I'm on Windows, so I had to do some work to get the tests working. If I have addressed your points I could separate those improvements to another PR, perhaps. |
|
(btw: I only now see PR #2 that also addresses running tests on Windows. My approach is different, as it was for me just a matter of adding a few more |
@jorrit Thank you for your effort here! I had two questions though:
Again, thank you for your effort, I'm ready to merge your changes as soon as I hear from you on the two questions I had. |
@jorrit For some reason Travis stopped posting the results on the pull request. Here's a link to the build https://travis-ci.org/mghoneimy/php-graphql-oqm/builds/649426386?utm_medium=notification&utm_source=github_status |
50f20f4
to
b3ef7fa
Compare
I think travis is annoyed with all my attempts :) I have it working, somewhat. For some reason two tests fail on Windows + PHP 7.1/7.2, so I disabled them. Installing PHP 7.1 with brew on OS X is impossible, so I removed that one as well. If you want to remove or add PHP versions, let me know. I don't know of any use cases for deeper structures, but I guess it is technically possible to have lists-of-lists like |
This allows reading types like [Type!]!, which are 4 levels deep. Previously a `Reached the limit of nesting in type info` exception would be thrown.
@jorrit Thank you so much for your effort and significant contribution to this library! |
This allows reading types like [Type!]!, which are 4 levels deep. Previously a
Reached the limit of nesting in type info
exception would be thrown.