-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes Issue #50 by properly reading/writing timeframes from/to JSON:
- Change the base class `QueryTimeframe` to interface `IQueryTimeframe`. - Add a `TimeframeConverter` to help with parsing JSON to the appropriate concrete implementation of `IQueryTimeframe`. - Use TimeframeConverter` to also help write `QueryRelativeTimeframe` to JSON. - We are using this new converter to create a URL-encoded JSON array to stuff in the query params for a funnel query, so we no longer drop relative timeframes. - Now we actually parse the timeframe in the `FunnelResultStep`, whether absolute or relative.
- Loading branch information
Showing
15 changed files
with
341 additions
and
154 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.