SearchQueryOperator in organizations: serde rename values are rejected by API
Closed this issue · 1 comments
graysonarts commented
// src/b2b/organizations.rs#855-862
pub enum SearchQueryOperator {
#[serde(rename = "or")]
#[default]
OR,
#[serde(rename = "and")]
AND,
}
With the renames, the API is rejecting them saying that they must be either "AND" or "OR". If I remove the renames so they are "AND" and "OR", then it works.
I believe the same is true for M2MSearchQueryOperator
but not 100% sure
ollie-stytch commented
Hi @graysonarts thanks for flagging this! We just rolled out 382372e which should fix this issue. We had an issue with our codegen and have since fixed the issue.
Ollie