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
Yes, it's necessary to add builder factories manually in some cases.
It's true that you could add fields as in your second post so the builder factories get generated for you, but then you will end up with a very weird class :) ... maybe you could put all such fields in a single class that you don't use, as a more convenient way to add builder factories.
Sorry that this part of built_value is so awkward, there is a long standing feature request to improve it but I haven't had a chance to tackle it!
davidmorgan
changed the title
When using BuiltMap nesting, is it not automatically created?
Auto add builder factories for nested built_collection classes
Dec 22, 2023
When using BuiltMap nesting, is it not automatically created?
automatically generated below
however, the below needs to be added manually.
It won't work unless you add it manually in the code above. So you have to add it manually, but it works.
Is there a way to automatically generate it?
The text was updated successfully, but these errors were encountered: