You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have several questions and improvements regarding the documentation of VPathMatch.localPath:
/// The local path is the one of the current VRouteElement/// If the path has path parameters, those should be replacedString?get localPath;
1What does “If the path has path parameters, those should be replaced” mean? I quickly debugged the variable and found out that localPath contained the path parameter (value). What is actually replaced?
From my point of view a better documentation would be:
/// The local path is the hydrated path or an hydrated alias of the current VRouteElement./// That means that a defined path of the form path/to/somewhere/:parameter would then look like path/to/somewhere/parameterValue/// Local path is either a relative or an absolute path, depending on whether the corresponding path in [VPath.path] is relative or absolute.
The text was updated successfully, but these errors were encountered:
I have several questions and improvements regarding the documentation of
VPathMatch.localPath
:1What does “If the path has path parameters, those should be replaced” mean? I quickly debugged the variable and found out that
localPath
contained the path parameter (value). What is actually replaced?From my point of view a better documentation would be:
The text was updated successfully, but these errors were encountered: