Skip to content

Commit 39e31dc

Browse files
committed
Rename subpath to subLocation
1 parent 9bc4d86 commit 39e31dc

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

packages/go_router_builder/example/lib/go_relative.g.dart

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/go_router_builder/example/lib/readme_excerpts.g.dart

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/go_router_builder/lib/src/route_config.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -547,10 +547,10 @@ mixin $_mixinName on $routeDataClassName {
547547
static $_className _fromState(GoRouterState state) $_fromStateConstructor
548548
$_castedSelf
549549
@override
550-
String get subpath => RelativeGoRouteData.\$location($_locationArgs,$_locationQueryParams);
550+
String get subLocation => RelativeGoRouteData.\$location($_locationArgs,$_locationQueryParams);
551551
552552
@override
553-
String get relativeLocation => './\$subpath';
553+
String get relativeLocation => './\$subLocation';
554554
555555
@override
556556
void goRelative(BuildContext context) =>

packages/go_router_builder/test_inputs/go_relative.dart.expect

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@ mixin _$RelativeRoute on RelativeGoRouteData {
4141
static RelativeRoute _fromState(GoRouterState state) => const RelativeRoute();
4242

4343
@override
44-
String get subpath => RelativeGoRouteData.$location(
44+
String get subLocation => RelativeGoRouteData.$location(
4545
'relative-route',
4646
);
4747

4848
@override
49-
String get relativeLocation => './$subpath';
49+
String get relativeLocation => './$subLocation';
5050

5151
@override
5252
void goRelative(BuildContext context) => context.go(relativeLocation);
@@ -69,12 +69,12 @@ mixin _$InnerRelativeRoute on RelativeGoRouteData {
6969
const InnerRelativeRoute();
7070

7171
@override
72-
String get subpath => RelativeGoRouteData.$location(
72+
String get subLocation => RelativeGoRouteData.$location(
7373
'inner-relative-route',
7474
);
7575

7676
@override
77-
String get relativeLocation => './$subpath';
77+
String get relativeLocation => './$subLocation';
7878

7979
@override
8080
void goRelative(BuildContext context) => context.go(relativeLocation);

0 commit comments

Comments
 (0)