Git Product home page Git Product logo

Comments (4)

zaki-yama avatar zaki-yama commented on August 16, 2024 1

@mmiyahara
Thank you for reporting!
We'll investigate it.

from js-sdk.

zaki-yama avatar zaki-yama commented on August 16, 2024 1

@mmiyahara
We checked the behaviors you pointed out.

The return type of totalCount is described as String even though the value of totalCount will be null when the request parameter totalCount is set to false or ignored. I assume that the description should be String or null.

In our document, we write

If the totalCount parameter is ignored or is set as false 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 is String even though the type is described as Integer 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.

zaki-yama avatar zaki-yama commented on August 16, 2024 1

@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.

mmiyahara avatar mmiyahara commented on August 16, 2024 1

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.