Remove reference to custom types

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9005
GitOrigin-RevId: 8fa120187b6e351fbf10f4b80adf4d01c291fc30
This commit is contained in:
Tom Harding 2023-04-28 18:53:17 +01:00 committed by hasura-bot
parent cfc7b8a29d
commit 912a03ec23

View File

@ -232,7 +232,7 @@ runUntrackLogicalModel q = do
case find ((== fieldName) . _nqmReturns) nativeQueries of
Just NativeQueryMetadata {_nqmRootFieldName} ->
throw400 ConstraintViolation $
"Custom type "
"Logical model "
<> fieldName
<<> " still being used by native query "
<> _nqmRootFieldName <<> "."