data-api-builder icon indicating copy to clipboard operation
data-api-builder copied to clipboard

[Bug]: Maybe by design?

Open ErikEJ opened this issue 1 year ago • 2 comments

What happened?

Running 'dab validate' against the following schema:

CREATE TABLE [dbo].[Specials]( [Id] [int] NOT NULL, [Test1] [hierarchyid] NOT NULL, [Test2] [geometry] NOT NULL, [Test3] [geography] NOT NULL, [TheDate] [date] NULL, [TheTime] time NULL, [testname] [sysname] NULL, PRIMARY KEY CLUSTERED ( [Id] ASC )

Version

1.1.7

What database are you using?

Azure SQL

What hosting model are you using?

Local (including CLI)

Which API approach are you accessing DAB through?

REST

Relevant log output

Error: Cannot obtain Schema for entity Specials with underlying database object source: dbo.Specials due to: DataReader.GetFieldType(1) returned null.
Error: Config is invalid. Check above logs for details.

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

ErikEJ avatar Jul 26 '24 13:07 ErikEJ