Skip to content

Commit

Permalink
Chopper generator release 4.0.2 (#300)
Browse files Browse the repository at this point in the history
Co-authored-by: Ivan Terekhin <i.terhin@gmail.com>
Co-authored-by: Youssef Raafat <youssefraafatnasry@gmail.com>
Co-authored-by: luis901101 <luis901101@gmail.com>
Co-authored-by: melvspace <ratealt@gmail.com>
  • Loading branch information
4 people committed Sep 23, 2021
1 parent d707d3f commit c1210bb
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions chopper_generator/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## 4.0.2

- Analyzer dependency upgrade
- PartValueFile nullability fix

## 4.0.1

- Fix for the null safety support
Expand Down
2 changes: 1 addition & 1 deletion chopper_generator/lib/src/generator.dart
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ class ChopperGenerator extends GeneratorForAnnotation<chopper.ChopperApi> {
];

list.add(
refer('PartValueFile<${p.type.getDisplayString(withNullability: false)}>')
refer('PartValueFile<${p.type.getDisplayString(withNullability: p.type.isNullable)}>')
.newInstance(params),
);
});
Expand Down
4 changes: 2 additions & 2 deletions chopper_generator/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: chopper_generator
description: Chopper is an http client generator using source_gen, inspired by Retrofit
version: 4.0.1
version: 4.0.2
documentation: https://hadrien-lejard.gitbook.io/chopper
repository: https://github.com/lejard-h/chopper
author: Hadrien Lejard <hadrien.lejard@gmail.com>
Expand All @@ -9,7 +9,7 @@ environment:
sdk: ">=2.12.0 <3.0.0"

dependencies:
analyzer: ^1.2.0
analyzer: ^2.0.0
build: ^2.0.0
built_collection: ^5.0.0
chopper: ^4.0.0
Expand Down

0 comments on commit c1210bb

Please sign in to comment.