X Tutup
Skip to content

Alt. Router Initial Work#8173

Closed
vsavkin wants to merge 5 commits intoangular:masterfrom
vsavkin:simple_router_implementation
Closed

Alt. Router Initial Work#8173
vsavkin wants to merge 5 commits intoangular:masterfrom
vsavkin:simple_router_implementation

Conversation

@vsavkin
Copy link
Copy Markdown
Contributor

@vsavkin vsavkin commented Apr 21, 2016

No description provided.

@vsavkin vsavkin added action: review The PR is still awaiting reviews from at least one requested reviewer and removed cla: yes labels Apr 21, 2016
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

UrlMarshaller? UrlSerializer/UrlDeserializer?

@vsavkin vsavkin force-pushed the simple_router_implementation branch from 4c0eca8 to ae565f3 Compare April 21, 2016 21:00
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tree

@vsavkin vsavkin force-pushed the simple_router_implementation branch 3 times, most recently from 3916d74 to 5f57b81 Compare April 22, 2016 18:50
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rename into pathFromRoot

@vsavkin vsavkin added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Apr 22, 2016
@vsavkin
Copy link
Copy Markdown
Contributor Author

vsavkin commented Apr 22, 2016

Did a walkthrough with Misko

@vsavkin vsavkin force-pushed the simple_router_implementation branch from 5f57b81 to 8ca81dd Compare April 22, 2016 19:05
return new Tree<UrlSegment>(this._parseNodes(url));
}

private _parseNodes(url: string): UrlSegment[] {
Copy link
Copy Markdown
Member

@gkalpak gkalpak Apr 23, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't this method essentially doing url.split('/').map(segment => new UrlSegment(segment, {}, '')) ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker cla: yes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

X Tutup