Comments (4)
@mmiyahara
Thank you for reporting!
We'll investigate it.
from js-sdk.
@mmiyahara
We checked the behaviors you pointed out.
The return type of
totalCount
is described asString
even though the value oftotalCount
will benull
when the request parametertotalCount
is set tofalse
or ignored. I assume that the description should beString
ornull
.
In our document, we write
If the
totalCount
parameter is ignored or is set asfalse
in the request,null
is returned.
in the "Description" column of totalCount
.
So your point is, it's preferable if we write "String or null" in the "Type" column, right?
The return type of the
totalCount
isString
even though the type is described asInteger
on the reference page. I did not confirm which one is true, but we should fix either of them.
Thank you.
There seems to be a typo in the reference page, so we'll fix the reference page side.
from js-sdk.
@mmiyahara
I added "or null
" to Type column in the document.
Please see the latest doc: https://github.com/kintone/js-sdk/blob/master/packages/rest-api-client/docs/record.md#returns-4
I really appreciate your feedback! 😄
from js-sdk.
@zaki-yama
Thank you for checking this issue and sorry for my late response.
So your point is, it's preferable if we write "String or null" in the "Type" column, right?
You get my point! Thank you for fixing the doc!
from js-sdk.
Related Issues (20)
- downloadFile files allocate huge memories
- Support a stream on uploadFile in browsers HOT 1
- unify command-line option parser of all packages
- delete the data-loader package
- Enfoce type imports as Lint rule
- The published packages contains test codes
- Delete records command
- Support npm script to fix lint error for all packages
- The type of lookup does not exist in fieldTypes HOT 4
- Support 2FA on plugin-uploader HOT 1
- A bug report about uploadFile in kintone/rest-api-client HOT 4
- Auto-detect MIME type when using uploadFile API on browser platform
- rest-api-client with webpack outputs `Module not found: Error: Can't resolve 'path'`
- dts-gen show unclear message when specifying invalid namespace
- Drop Node.js 14.x support and add 20.x HOT 1
- [Bug] the `KintoneRestAPIClient.version` causes an Error on browser environment HOT 1
- [Bug] dts-gen causes an error if TypeScript isn't installed HOT 1
- [Feature Request] bump eslint-plugin dependency in dts-gen package HOT 4
- [Bug] Encountering TS Errors When Using @kintone/rest-api-client in Vite HOT 4
- [Bug] Cannot import when using esbuild 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 js-sdk.