Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Martinsos committed Sep 15, 2024
1 parent fe7fd0f commit ae85894
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion waspc/src/Wasp/AppSpec/Entity.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down

0 comments on commit ae85894

Please sign in to comment.