From 85dc231f8cf3d2f90207d775180f73750031bd7e Mon Sep 17 00:00:00 2001 From: Jan-Gerke Salomon Date: Mon, 27 Nov 2023 15:43:47 +0100 Subject: [PATCH] docs(readme): add `(schema/compile)` to `hello-schema` --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0d50bc0..354a5d0 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,8 @@ generate a service, then invoke `io.pedestal.http/create-server` and `/start`. ;; String is quoted here; in EDN the quotation is not required ;; You could also use :String {:hello {:type 'String}}}}} - (util/inject-resolvers {:Query/hello (constantly "hello")}))) + (util/inject-resolvers {:Query/hello (constantly "hello")}) + (schema/compile))) ;; Use default options: (def service (lp/default-service hello-schema nil))