Comments (2)
update : after more digging noticed that the table required Primary key.
however after introducing PK now I'm getting
{"error":{"code":"BadRequest","message":"Invalid request body. Missing field in body: IDs.","status":400}}
I profiled and noticed that SWA is running the following
exec sp_executesql N'SELECT ifsc.column_name from sys.columns as sc INNER JOIN information_schema.columns as ifsc ON (sc.is_computed = 1 or ifsc.data_type = ''timestamp'') AND sc.object_id = object_id(@param0+''.''+@param1) and ifsc.table_name = @param1 AND ifsc.table_schema = @param0 and ifsc.column_name = sc.name;',N'@param0 nvarchar(3),@param1 nvarchar(4)',@param0=N'dbo',@param1=N'test'
from data-api-builder.
To help with repro, can you provide example table schema and contents of your POST request body?
Request should be:
POST https://white-plant-xxxxxx.5.azurestaticapps.net/data-api/graphql/Mytable
with JSON request body:
{
"primaryKeyName": "Value",
"requiredField": "RequiredFieldValue"
}
from data-api-builder.
Related Issues (20)
- [Bug]: CLI validate Schema error HOT 1
- [Bug]: System.NotSupportedException: Specified method is not supported [GraphQL] HOT 4
- npgsql 7.0.7 for .net6
- How can we host DAB is azure webapp
- Support for OpenAPI description in a Infragistics AppBuilder integration use case HOT 9
- [Bug]: Cannot read the table name when it is contains capital letters HOT 2
- Allow custom exceptions in production mode
- [Bug]: Multiple relationships to same entity causes empty sets HOT 1
- [Feature]: Automatic deployment to Container Apps HOT 2
- [Feature]: Support OpenId Connect Identity Provider HOT 4
- [Bug]: Cannot obtain Schema for entity HOT 3
- [Enhancement]: Push users toward better practices
- [Known Issue]: Disabling CORS on SWA does not seem to work
- [Bug]: Using a Development config file the entities are not merged HOT 1
- [Enhancement]: Enable caching through CLI HOT 1
- [Known Issue]: https://localhost:5001 not in Console Logs after `dab start` HOT 1
- [Enhancement]: hasPreviousPage / Before Cursor not found HOT 2
- Add a new CLI command to update values of the runtime section of the config HOT 3
- [Enhancement]: REST $first & $after synonyms HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from data-api-builder.