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
The data is hold multiple times, slightly higher memory consumption
Some users might rely too heavily on them (or in the wrong cases)
Implementation couold look like this:
classResponse:IReadOnlyDictionary<string,string>{privatereadonlyIReadOnlyDictionary<string,string>_rawFields;// init via setter mechanism during response processing// ...// Implement indexer with getter only, just returning _rawFields's entry// ...}
How about generating the data classes in the Specialzed-Namespace? Pros? Cons?
Pros:
Maybe (tm) faster de-serialization as we could define a general setter method that calls hand-written converters based on an auto-generated switch-statement. No dynamic invocations needed.
Most likely, #75 will contain a breaking change. Also, #58 will require some API changes. We also may streamline the method names (Connect -> ConnectAsync) to align with the .NET styles.
Assume we can do breaking changes, what could we do?
Implementation couold look like this:
Span<T>
,Memory<T>
, Ref-Returns/In-Parameters, Local-Refs? Pattern matching? Nullable-Ref-Types?This list is open to everyone!
The text was updated successfully, but these errors were encountered: