We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e5ae16a commit 2f256e4Copy full SHA for 2f256e4
1 file changed
src/Config/ObjectModel/RuntimeConfig.cs
@@ -292,7 +292,7 @@ public RuntimeConfig(
292
};
293
294
_entityNameToDataSourceName = new Dictionary<string, string>();
295
- if (Entities is null && Autoentities is null)
+ if ((Entities is null || Entities.Entities.Count == 0) && Autoentities is null)
296
{
297
throw new DataApiBuilderException(
298
message: "Configuration file should contain either at least the Entities or Autoentities property",
0 commit comments