Skip to content

Incorrectly typed dates in response types #353

@jhanc-helix

Description

@jhanc-helix

All date fields I've encountered so far were incorrectly typed as Date instead of string. This includes InstancePoolSummary.timeCreated, Instance.timeCreated, WorkRequest.timeAccepted, WorkRequest.timeFinished, WorkRequest.timeStarted.

Seemingly the dates are serialized to ISO strings, but the codegen incorrectly types (probably all) date fields.

Activity

jhanc-helix

jhanc-helix commented on Mar 28, 2025

@jhanc-helix
Author

This applies #327 but the scope seems to be much wider.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @jhanc-helix

        Issue actions

          Incorrectly typed dates in response types · Issue #353 · oracle/oci-typescript-sdk