`in` operator does not seem to work whereas `is` does
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: https://github.com/chargebee/chargebee-typescript/issues/31
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.
@cb-sriramthiagarajan ok, thanks for the response. Do you have a timeline on this?
Hi @ole-magnus, we're currently looking into this. I'll come back with an update latest by tomorrow. Thanks for your patience.
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.
@cb-sriramthiagarajan What is happening here? Anyone working on it? What is the ETA?
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.
Hi @ole-magnus, we're still working on this. Will keep this issue posted once we have a timeline. Thanks for your patience.
@cb-sriramthiagarajan how are you doing?
Hi @ole-magnus, I'm doing good. Trust all is well with you too :)
Coming back to this issue, we're targeting to close this by the end of this month as we were focusing on other priorities. My apologies for the long delay and thank you once again for your patience.
Hi @ole-magnus, thanks much for your patience. We've deployed a fix for this. Please check and let us know if you're running into any issues. Thanks!