Skip to content

Adopt shared analyzer helpers from source_helper: ^1.4.0 in codable_builder - #102

Merged
kevmoo merged 2 commits into
mainfrom
source-helper
Oct 19, 2026
Merged

kevmoo merged 2 commits into
mainfrom
source-helper

Conversation

@kevmoo

@kevmoo kevmoo commented Oct 19, 2026

Copy link
Copy Markdown
Owner

Adopts the shared constructor, property-annotation, enum, and nullability helpers published in package:source_helper 1.4.0.

  • Adds source_helper: ^1.4.0 to pkgs/codable_builder/pubspec.yaml.
  • Replaces local constructorByName, firstAnnotationOnProperty, DartType.enumConstants, and DartType.isNullableType helpers across model_visitor.dart, type_helper.dart, encoder_helper.dart, and decoder_helper.dart.
  • Inherits @CodableKey and @CodableTuple annotations from overridden superclass and superinterface properties (firstAnnotationOnProperty).

…e_builder`

- Add `source_helper: ^1.4.0` dependency to `pkgs/codable_builder`.
- Replace local `constructorByName`, `firstAnnotationOnProperty`, `DartType.enumConstants`, and `DartType.isNullableType` helpers across `model_visitor.dart`, `type_helper.dart`, `encoder_helper.dart`, and `decoder_helper.dart`.
@kevmoo
kevmoo merged commit 09e073e into main Oct 19, 2026
6 checks passed
@kevmoo
kevmoo deleted the source-helper branch October 19, 2026 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant