Details
-
Improvement
-
Status: Confirmed
-
Resolution: Unresolved
-
None
-
None
-
None
-
Operating System: All
Platform: All
Description
StreamWriterGenerator does not actually look at the data being processed before emitting a size hint, but rather emits a very pessimistic hint based on the assumption that all fields and all possible augmentation it sees in the schema context at code generation.
This is wrong, as it should either emit a hint based on the actual data, or send down UNKNOWN_SIZE.