Skip to content

Conversation

@russcam
Copy link
Contributor

@russcam russcam commented Apr 30, 2018

This commit implements IUrlParameter on Time so that the conversion to a
string value happens when building the url.

Add condition to ElasticsearchUrlFormatter to convert TimeSpan to Time unit
string value when building the url.

Remove special case handling for Time and TimeSpan and re-run API generation

Fixes #3220

@russcam russcam requested a review from codebrain April 30, 2018 00:38
russcam added 2 commits April 30, 2018 10:39
This commit implements IUrlParameter on Time so that the conversion to a
string value happens when building the url.

Add condition to ElasticsearchUrlFormatter to convert TimeSpan to Time unit
string value when building the url.

Remove special case handling for Time and TimeSpan and re-run API generation

Fixes #3220
@codebrain
Copy link
Contributor

Approved, needs appropriate backport to 5.x too

@russcam russcam merged commit 15138f0 into 6.x Apr 30, 2018
@russcam russcam deleted the fix/6.x-3220 branch April 30, 2018 01:01
russcam added a commit that referenced this pull request Apr 30, 2018
* Implement IUrlParameter on Time

This commit implements IUrlParameter on Time so that the conversion to a
string value happens when building the url.

Add condition to ElasticsearchUrlFormatter to convert TimeSpan to Time unit
string value when building the url.

Remove special case handling for Time and TimeSpan and re-run API generation

Fixes #3220
russcam added a commit that referenced this pull request Apr 30, 2018
* Implement IUrlParameter on Time

This commit implements IUrlParameter on Time so that the conversion to a
string value happens when building the url.

Add condition to UrlFormatProvider to convert TimeSpan to Time unit
string value when building the url.

Remove special case handling for Time and TimeSpan and re-run API generation

Fixes #3220
russcam added a commit that referenced this pull request Apr 30, 2018
* Implement IUrlParameter on Time

This commit implements IUrlParameter on Time so that the conversion to a
string value happens when building the url.

Add condition to UrlFormatProvider to convert TimeSpan to Time unit
string value when building the url.

Remove special case handling for Time and TimeSpan and re-run API generation

Fixes #3220
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants