Skip to content

Commit

Permalink
🔀 post release branch sync (#565)
Browse files Browse the repository at this point in the history
  • Loading branch information
techouse authored Jan 23, 2024
1 parent d369217 commit b8f2fe2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 17 deletions.
4 changes: 4 additions & 0 deletions chopper_generator/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 7.1.1

- Add option to override build_extension via build.yaml ([#562](https://github.com/lejard-h/chopper/pull/562))

## 7.1.0

- Add ability to omit `Response` in service ([#545](https://github.com/lejard-h/chopper/pull/545))
Expand Down
2 changes: 1 addition & 1 deletion 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: 7.1.0
version: 7.1.1
documentation: https://hadrien-lejard.gitbook.io/chopper
repository: https://github.com/lejard-h/chopper

Expand Down
16 changes: 0 additions & 16 deletions faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -347,22 +347,6 @@ It goes without saying that running the code generation is a pre-requisite at th
flutter pub run build_runner build
```

##### Changing the default extension of the generated files

If you want to change the default extension of the generated files from `.chopper.dart` to
something else, you can do so by adding the following to your `build.yaml` file:

```yaml
targets:
$default:
builders:
chopper_generator:
options:
# This assumes you want the files to end with `.chopper.g.dart`
# instead of the default `.chopper.dart`.
build_extensions: { ".dart": [ ".chopper.g.dart" ] }
```
#### Configure a WorkerPool and run the example

```dart
Expand Down

0 comments on commit b8f2fe2

Please sign in to comment.