Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ole-magnus opened this issue Jun 7, 2024 · 7 comments
Open

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

ole-magnus opened this issue Jun 7, 2024 · 7 comments

Comments

@ole-magnus
Copy link

ole-magnus commented Jun 7, 2024

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

@cb-sriramthiagarajan
Copy link
Collaborator

Hi @ole-magnus, I'm sorry for the inconvenience. We're currently looking into this and will get back soon. Though it looks similar, #31 is probably a different issue which is related to custom field and we'll address that as well.

@ole-magnus
Copy link
Author

@cb-sriramthiagarajan ok, thanks for the response. Do you have a timeline on this?

@cb-sriramthiagarajan
Copy link
Collaborator

Hi @ole-magnus, we're currently looking into this. I'll come back with an update latest by tomorrow. Thanks for your patience.

@cb-sriramthiagarajan
Copy link
Collaborator

Hi @ole-magnus, we've identified the issue and will be working on a fix. I see that there's a support ticket open for this and we'll be following up there.

Will keep this issue open until it's fixed.

@ole-magnus
Copy link
Author

@cb-sriramthiagarajan What is happening here? Anyone working on it? What is the ETA?

@cb-sriramthiagarajan
Copy link
Collaborator

Yes @ole-magnus, we're working on this. Unfortunately I don't have an ETA at the moment. I'll come back with an update later this week.

@cb-sriramthiagarajan
Copy link
Collaborator

Hi @ole-magnus, we're still working on this. Will keep this issue posted once we have a timeline. Thanks for your patience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants