Comments (2)
Thanks! You're quite right. The problem is that the builder fields remain null until any setter is used. They should rather remain null until any setter or getter is used. I'll send a fix.
from built_value.dart.
PTAL #81
from built_value.dart.
Related Issues (20)
- `Function` types with named params are not handled correctly
- Still active? HOT 2
- Generation breaks on top level field with type containing `Never` HOT 1
- Serialization does not serialize derived values HOT 2
- Generic types & serializers HOT 8
- Feature request: SerializersBuilder addAllBuilderFactories HOT 2
- Support milliseconds with ISO8601DurationSerializer HOT 3
- escaping invalid field names with a '$' breaks the generator on custom types HOT 1
- Record field type breaks generator HOT 1
- `JsonObject` factory accepts null, but will throw when null is passed HOT 1
- `enum_source_class.dart` contains faulty mixin code in dart 3 HOT 7
- `JsonObject` and sub classes could have a const constructor
- Auto add builder factories for nested built_collection classes HOT 2
- Question: Possible to serialize & deserialize a field of type Map<String, dynamic> ? HOT 14
- Getting enum by wire name HOT 2
- Classes not being generated with new Dart 3 classes modifiers HOT 2
- Support analyzer v6 HOT 1
- Int32 serializers HOT 1
- Allow record serialization (or bypass the error when generating) HOT 10
- Bug: The key of a List is included as an element of said list. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from built_value.dart.