by • March 8, 2018
In the 2.11 release of Dreamfactory we added support for GraphQL, the open sourced query language written by Facebook. You can now harness the power of GraphQL inside of the API automation & integration structure of Dreamfactory. Both REST and GraphQL offer advantages and disadvantages depending on your use case. There are several articles and posts out there expanding on this, but let’s walk through how to incorporate this service in your Dreamfactory instance. GraphQL is available in all of our product levels: Open Source, Silver and Gold.
composer update dreamfactory/df-graphiql --no-dev
php artisan cache:clear
//Defines a GraphQL fetcher using the fetch API
Please let us know your thoughts, and share any cool projects you are working on. Reach out on our social media pages or leave your thoughts below. Thanks for reading!
Join the DreamFactory newsletter list.