You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Warning: Github issues are not an official support channel for Recurly. If you have an urgent request we suggest you contact us through an official channel: [email protected] or https://recurly.zendesk.com
Describe the bug
Types definitions are incorrect:
all fields are optional and nullable
some types are not strongly typed (ex: Plan.state -> string instead of an enum)
short example from the declaration file:
export declare class Plan {
/**
* Plan ID
*/
id?: string | null; -> should be id: string;
That's a big problem because in that state those type definitions cannot be used... Are you aware of that issue ? And do you plan to fix it ?
Thanks !
The text was updated successfully, but these errors were encountered:
I want to chime in here that it's very inconvenient that every type is nullable (e.g. id on invoice - link). Could the developers please fix this to reflect what fields are actually nullable? This leads to code with either tons of redundant nullability checks, or null assertions.
I want to chime in here that it's very inconvenient that every type is nullable (e.g. id on invoice - link). Could the developers please fix this to reflect what fields are actually nullable? This leads to code with either tons of redundant nullability checks, or null assertions.
Well I'm here a year later to complain about the same thing. It's a terrible developer experience.
I want to chime in here that it's very inconvenient that every type is nullable (e.g. id on invoice - link). Could the developers please fix this to reflect what fields are actually nullable? This leads to code with either tons of redundant nullability checks, or null assertions.
I'm also here to see if there is any plans to address this?
Warning: Github issues are not an official support channel for Recurly. If you have an urgent request we suggest you contact us through an official channel: [email protected] or https://recurly.zendesk.com
Describe the bug
Types definitions are incorrect:
short example from the declaration file:
That's a big problem because in that state those type definitions cannot be used... Are you aware of that issue ? And do you plan to fix it ?
Thanks !
The text was updated successfully, but these errors were encountered: