Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
ability to set human readable title of data view & ability to edit data view #124191
ability to set human readable title of data view & ability to edit data view #124191
Changes from 10 commits
fdd3365
1aaaccf
18daa04
7f9a0fe
a348bd6
56e3578
5fb16a5
cd7cf91
2295bb0
54ff3e0
2a162cc
f602a2f
f2edd41
b839a08
eb27e8c
06208a1
dc6f45c
a2c75b6
9221c42
2445b13
2a4a6f8
9779565
01348aa
2abd560
505ff3f
878d18d
acfc939
ef4149a
9199f00
6548c28
17dbe9b
0737f5a
8424691
b0909c6
4a288cf
c13191e
b095590
a27da22
c857513
03f1b90
7e3cc93
1fd668c
246c1a1
1a3970a
d69fa8b
832eef3
a749e34
860277d
073dd23
148b7f7
9a9ca8d
29f5779
ef7468c
309aaef
3b1cb6d
9a353f5
df92850
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
Interesting... I wonder if the api indeed can return
Error
or if this is a mistake in types. I'd expect it to throw in case of error. @mattkimeThere 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.
@shivindera As best I can tell its not possible for indexPattern to be an instanceof Error.
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.
@shivindera As best I can tell its not possible for indexPattern to be an instanceof Error.
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 check is there as
await dataViews.updateSavedObject(editData);
returnsPromise<void | DataView | Error>
. I have changed the variable name accordingly to reflect that.