Skip to content

Commit cff6973

Browse files
committed
Rename subpath to subLocation
1 parent 178bc90 commit cff6973

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
@@ -548,10 +548,10 @@ mixin $_mixinName on $routeDataClassName {
548548
static $_className _fromState(GoRouterState state) $_fromStateConstructor
549549
$_castedSelf
550550
@override
551-
String get subpath => RelativeGoRouteData.\$location($_locationArgs,$_locationQueryParams);
551+
String get subLocation => RelativeGoRouteData.\$location($_locationArgs,$_locationQueryParams);
552552
553553
@override
554-
String get relativeLocation => './\$subpath';
554+
String get relativeLocation => './\$subLocation';
555555
556556
@override
557557
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)