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
With the release of go 1.18 generics are now available for go.
One of the common complain we have with the SDKs are that it takes long to compile, deterring some of our usage.
With generics, we may have an opportunity to reduce the amount of code we generate, improving the experience for everyone, and we should investigate.
While we're at it, we might want to revalidate whether checking for nil for the function receiver is necessary in getters and setters and either remove this (is it actually possible to call a function with nil?) or expand it to the other methods that access fields (get deserializers, serializer, etc...)
Lastly, evaluating the IsNil function for removal would also be beneficial.
The text was updated successfully, but these errors were encountered:
With the release of go 1.18 generics are now available for go.
One of the common complain we have with the SDKs are that it takes long to compile, deterring some of our usage.
With generics, we may have an opportunity to reduce the amount of code we generate, improving the experience for everyone, and we should investigate.
One common pattern that'd be good to reduce, is looping to recast collections in deserialization (primitives, enums, complex models).
While we're at it, we might want to revalidate whether checking for nil for the function receiver is necessary in getters and setters and either remove this (is it actually possible to call a function with nil?) or expand it to the other methods that access fields (get deserializers, serializer, etc...)
Lastly, evaluating the IsNil function for removal would also be beneficial.
The text was updated successfully, but these errors were encountered: