-
Notifications
You must be signed in to change notification settings - Fork 7
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
How to pass object array to Weave init in OperationBuilder parameter #42
Comments
So currently this wouldn't be supported as the function builder is expecting a type that conforms to ObjectWeavable but this poses an interesting situation. In theory I might be able to build out a custom solution for this issue. Let me look into this some today and see what I can come up with. |
Could you help me out a little and give me an idea of your end goal. Maybe a quick mock of the desired query. |
Hey Nicholas! fragment imageUriFragment on Image { fragment showFragment on Show { I tried to write ForEach statement with OperationBuilder, but failed to do it :( |
Ok so yesterday I created a ForEachWeavable which can be found on a new branch here: https://github.com/NicholasBellucci/SociableWeaver/tree/feature/foreach-weavable. If you would like to check this branch out and then refer to a new test that I added this might be a start to solving this use case.
Please feel free to provide any sort of feedback and we can converse on how to make this solution work best. |
Wow! Seems like everything works fine! But I really enjoy your declarative stuff on GraphQL requests 💯 |
Version 0.1.11 now supports ForEachWeavable. I will document later this evening. Glad everything worked well. Going to close the issue but if anything comes up feel free to create a new one! |
Hey there!
Could you please tell me if its possible to build Weave query like this. I didn't find any approach here. Not so familiar with FunctionBuilders
The text was updated successfully, but these errors were encountered: