Comments (15)
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.
It's hassle to write the following.
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
from js-sdk.
@the-red Thank you for your clarification! We'll consider having a solution for this.
from js-sdk.
not stale
from js-sdk.
@the-red
Thank you for reporting this! We are going to consider this.
Could you describe your use case?
from js-sdk.
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.
We've merged dts-gen
into js-sdk
, so this issue has been transferred.
from js-sdk.
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.
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.
not stale
from js-sdk.
@the-red
Thank you! I reopened.
from js-sdk.
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.
Not stale
from js-sdk.
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.
Not stale... 🤮
from js-sdk.
Ref: #447 (comment)
from js-sdk.
Related Issues (20)
- 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
- [Action Required] Upgrade plugin-uploader by May 12, 2024
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.