Git Product home page Git Product logo

Comments (15)

the-red avatar the-red commented on July 17, 2024 1

Sorry for the late response.

As you say, the use case is a type for updating.
To add record, I'd like to write as follows. But type error occurs.
image

It's hassle to write the following.
image

In a similar case, when I put a number in a field of type Number, I got an error.
It would be nice if you could prepare different types for the reference and update systems 🚀

    price: kintone.fieldTypes.Number

image
image

from js-sdk.

koba04 avatar koba04 commented on July 17, 2024 1

@the-red Thank you for your clarification! We'll consider having a solution for this.

from js-sdk.

koba04 avatar koba04 commented on July 17, 2024 1

not stale

from js-sdk.

koba04 avatar koba04 commented on July 17, 2024

@the-red
Thank you for reporting this! We are going to consider this.
Could you describe your use case?

from js-sdk.

koba04 avatar koba04 commented on July 17, 2024

Changing these types optional also leads the usage inconvenient because it requires to check whether the type exists or not and disables to infer using discriminated unions.
If the use case is a type for updating, it seems to be a good option to add another type for it

from js-sdk.

koba04 avatar koba04 commented on July 17, 2024

We've merged dts-gen into js-sdk, so this issue has been transferred.

from js-sdk.

stale avatar stale commented on July 17, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from js-sdk.

stale avatar stale commented on July 17, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from js-sdk.

the-red avatar the-red commented on July 17, 2024

not stale

from js-sdk.

zaki-yama avatar zaki-yama commented on July 17, 2024

@the-red
Thank you! I reopened.

from js-sdk.

stale avatar stale commented on July 17, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from js-sdk.

the-red avatar the-red commented on July 17, 2024

Not stale

from js-sdk.

stale avatar stale commented on July 17, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from js-sdk.

the-red avatar the-red commented on July 17, 2024

Not stale... 🤮

from js-sdk.

shintaroNagata avatar shintaroNagata commented on July 17, 2024

Ref: #447 (comment)

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.