Skip to content

in operator does not seem to work whereas is does #54

@ole-magnus

Description

@ole-magnus

Using the filter options is, in, etc, I run into problems:

const entitlements = await this.chargebee?.entitlement
  .list({
    feature_id: { is: featureId },
    entity_type: { in: ['plan_price'] },
  })
  .request();

does not work (the request fails)

whereas

const entitlements = await this.chargebee?.entitlement
  .list({
    feature_id: { is: featureId }
  })
  .request();

does.

This just follows the suggested typings and approach from the API documentation.

It would be great if someone from Chargebee could comment both on these issues but also look into the open PRs and other issues that seem unaddressed.

This issue from 2022 seems related and it worries me there are no responses: #31

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