-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LocationLevel retrieve constant values in time window #887
base: develop
Are you sure you want to change the base?
Conversation
…t values. Includes tests to verify functionality
@@ -344,6 +316,12 @@ public void getAll(@NotNull Context ctx) { | |||
+ "specified), as well as the time zone of any times in the response." | |||
+ " If this field is not specified, the default time zone of UTC " | |||
+ "shall be used."), | |||
@OpenApiParam(name = START, type = Instant.class, description = "Specifies the start of the time " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding a start and end date for getOne does not make sense to me as it conflicts with the effective date parameter.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's fair, but because there are multiple effective dates there does need to be a way to retrieve them all without it necessarily being a "timeseries" as that's a different concept (seasonal, etc) of location level.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see how that's different than the behavior of the getAll endpoint.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We'll see how Daniel responds.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixes #599, LocationLevel retrieve constant values in time window. Includes tests to verify functionality