From 86ff1364693b75e3803fcca576909b7fe74540d3 Mon Sep 17 00:00:00 2001 From: Ben Fidlers Date: Tue, 24 Oct 2023 14:31:43 +0200 Subject: [PATCH] fix bug in domain.lisp --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a7dd456..0abc002 100644 --- a/README.md +++ b/README.md @@ -222,7 +222,7 @@ Next, add the inverse relationship to the author’s model: (define-resource author () :class (s-prefix "schema:Author") :properties `((:name :string ,(s-prefix "schema:name"))) - :has-many `((book :via (s-prefix "schema:author") + :has-many `((book :via ,(s-prefix "schema:author") :inverse t :as "books")) :resource-base (s-url "http://mu.semte.ch/services/github/madnificent/book-service/authors/")