From ae85894a9cafa37f355a1e524e2047c098a57645 Mon Sep 17 00:00:00 2001 From: Martin Sosic Date: Mon, 16 Sep 2024 00:51:11 +0200 Subject: [PATCH] fix --- waspc/src/Wasp/AppSpec/Entity.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/waspc/src/Wasp/AppSpec/Entity.hs b/waspc/src/Wasp/AppSpec/Entity.hs index 53be509611..ca5ed93a63 100644 --- a/waspc/src/Wasp/AppSpec/Entity.hs +++ b/waspc/src/Wasp/AppSpec/Entity.hs @@ -32,7 +32,7 @@ data Entity = Entity instance IsDecl Entity instance FromJSON Entity where - parseJSON = error "TODO: Hm what with entities do we really need this, we don't have them in the code anymore" + parseJSON = const $ fail "Entity declarations in wasp are deprecated, entities are now defined via prisma.schema file." makeEntity :: Psl.Model.Body -> Entity makeEntity body =