Skip to content

Allow strongly typed custom fields to be added #112

Description

@ajdaniel

What problem does your feature request address?

I'd like custom fields on entities to be strongly typed natively in the SDK, without me needing to create my own supertypes like this

export type SubscriptionWithCustomFields = Subscription & {
  cf_myCustomField: string;
};

const result = await chargebee.subscription.retrieve(subscriptionId);
return result.subscription as SubscriptionWithCustomFields;

Describe the desired solution

No response

Alternatives considered

No response

Additional context

No response

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

      Issue actions