Comments (7)
Thanks for raising this @illunix
Any chance you can share the path being called as well as the openApi description for the path?
Are you able to determine which property is null that was expected to be a collection?
from kiota-typescript.
Everything in my response is expected, I will provide you open api description later
from kiota-typescript.
@andrueastman Get companies request
swagger.json
from kiota-typescript.
Hi @illunix
Thanks for the additional information.
This is caused by a lack of defensive check here.
Would you be willing to submit a pull request to address this issue?
from kiota-typescript.
You mean it's missing something like @baywet
if (typeOfX === "null") {
}
from kiota-typescript.
more something like
if(!Array.isArray(this._jsonNode)) return undefined;
from kiota-typescript.
same issue here.
I am getting this exception:
TypeError: Cannot read properties of null (reading 'map')
at JsonParseNode.getCollectionOfPrimitiveValues
from kiota-typescript.
Related Issues (20)
- Is it possible to skip undefined obj from json body? [Typescript] HOT 7
- Adopt built-in fetch HOT 3
- v1.12.0: Failed to execute 'fetch' on 'Window': Illegal invocation HOT 9
- Required Properties should be applied to models' type (but not) HOT 2
- Specifying http proxy changed in Node@18 and 20 HOT 3
- Guid uri template path/query parameter values should be normalized to string HOT 6
- ensure 3XX responses without location header do not throw
- Duration format bug - Class tried to be generated HOT 2
- Request Payload with empty string values ignores all values and send empty object payload HOT 5
- Kiota TypeScript Generates Fields and Methods with Incorrect Casing HOT 1
- `writer.writeObjectValue` creates invalid JSON HOT 4
- [Bug] Parse duration HOT 2
- Conflict on DateOnly when swagger file defines a DateOnly type HOT 6
- Extra comma in serialized json output HOT 4
- Cannot write null to a nullable value HOT 5
- Kiota Serializes request body with prepend trailing coma, eg {, key: value} HOT 4
- Kiota doesn't serialize request body with embedded dictionary object , eg { someObject: {key: value}} HOT 8
- [React Native iOS] Kiota is not working with React Native iOS HOT 3
- Dotnet cant convert TimeOnly with 12 numbers in milliseconds HOT 3
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 kiota-typescript.