-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Address UX study feedback and API review feedback #23799
Conversation
field.setAccessible(false); | ||
} catch (IllegalAccessException ex) { | ||
throw LOGGER.logExceptionAsError( | ||
new IllegalArgumentException("Failed to set column value for " + columnName, ex)); |
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.
Why allow partial creation of the object?
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.
This won't create partial objects. If we fail to set the value of any column, this whole method will throw. So, the caller of this method will not get any result.
...-query/src/main/java/com/azure/monitor/query/implementation/logs/models/LogsQueryHelper.java
Show resolved
Hide resolved
sdk/monitor/azure-monitor-query/src/main/java/com/azure/monitor/query/LogsQueryAsyncClient.java
Show resolved
Hide resolved
...nitor/azure-monitor-query/src/main/java/com/azure/monitor/query/MetricsQueryAsyncClient.java
Show resolved
Hide resolved
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.
This PR addresses some of the feedback that we received during the user studies and also includes changes that were recommended during the API review.