You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This example will fail because the terminationTargetDate is not following the ISO 8601, which is used for OpenAPI.
client.contract.terminateContract({
contractId: "some-id",
data: {
terminationTargetDate: new Date(),
}
})
This code is much more convenient for the user. The client could be converting JS Dates to date-time Strings in the background before sending the request.
The text was updated successfully, but these errors were encountered:
Henning3110
changed the title
It would be convenient if 'dateTime' formatted String would be types as a JS Date
It would be convenient if 'date-time' formatted String would be types as a JS Date
Dec 10, 2024
Henning3110
changed the title
It would be convenient if 'date-time' formatted String would be types as a JS Date
It would be convenient if 'date-time' formatted Strings would be typed as JS Dates
Dec 10, 2024
Example: If I want to terminate a Contract, I can schedule the Termination for a specific date. Consider following code:
This example will fail because the
terminationTargetDate
is not following the ISO 8601, which is used for OpenAPI.This code is much more convenient for the user. The client could be converting JS Dates to date-time Strings in the background before sending the request.
The text was updated successfully, but these errors were encountered: