{"repo":"walmartlabs/lacinia-pedestal","free":true,"listed":false,"github":"https://github.com/walmartlabs/lacinia-pedestal","clone":"git clone https://github.com/walmartlabs/lacinia-pedestal.git","description":"Expose Lacinia GraphQL as Pedestal endpoints","language":"Clojure","stars":203,"topics":["clojure","graphql","pedestal","http"],"license":null,"category":"api-integrations-sdks","readme_excerpt":"com.walmartlabs/lacinia-pedestal A library that adds the Pedestal underpinnings needed when exposing Lacinia as an HTTP endpoint. Lacinia-Pedestal also supports GraphQL subscriptions, using the same protocol as Apollo GraphQL. Lacinia-Pedestal Manual API Documentation Usage Pedestal 0.8 Connector API (recommended) For new applications, use com.walmartlabs.lacinia.pedestal3 with the Pedestal 0.8 connector API: Lacinia will handle POST requests at the /api endpoint: pedestal3 does not include a default-service convenience function; applications are expected to construct the connector map directly using the building blocks provided. Pedestal Legacy API (pedestal2) For applications using the legacy io.pedestal.http API, use com.walmartlabs.lacinia.pedestal2/default-service : You can also access the GraphQL IDE at http://localhost:8888/ide . Development Mode When developing an application, it is desirable to be able to change the schema without restarting. Lacinia-Pedestal supports this: the schema passed to default-interceptors (or default-service in pedestal2 ) can be a function that returns the compiled schema, or even a Var containing such a function. In this way, the Pedestal stack continues to run, but each request rebuilds the compiled schema based on the latest code you've loaded into the REPL. Beyond the defaults default-interceptors (and pedestal2/default-service ) are intentionally limited scaffolding to help you get started. Once you add anything more sophisticated — s","default_branch":null,"files":null,"tree":[],"storefront":"/r/walmartlabs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/walmartlabs/lacinia-pedestal/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}