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
Describe the bug
Not exactly a bug, but the SeriesBuilder class is pretty much unusable, the static getmethod is the only way of instantiating it but doesn't accept a generic type. Why have the generic type in the first place if you cannot use it?
Steps or code example to Reproduce
The following code will cause a compiler error, since the withData method expects a parameter of type capture of ?... which isn't possible. There is no way to set the generic type of the SeriesBuilder class without using an unsafe cast.
Describe the bug
Not exactly a bug, but the SeriesBuilder class is pretty much unusable, the static
get
method is the only way of instantiating it but doesn't accept a generic type. Why have the generic type in the first place if you cannot use it?Steps or code example to Reproduce
The following code will cause a compiler error, since the withData method expects a parameter of type
capture of ?...
which isn't possible. There is no way to set the generic type of the SeriesBuilder class without using an unsafe cast.The current implementation of the get method is as follows
Expected behavior
I'd expect the static get method to have a generic type, changing it to:
The text was updated successfully, but these errors were encountered: