-
Notifications
You must be signed in to change notification settings - Fork 73
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
Add search to the elements in dahsboards that can be used by value #635
Conversation
💚 Build Succeeded
cc @jsoriano |
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.
LGTM, looking at the code change, just a question how it could be tested, since this is new topic to me
@@ -83,7 +83,7 @@ func anyReference(val interface{}) ([]reference, error) { | |||
var references []reference | |||
for _, reference := range allReferences { | |||
switch reference.Type { | |||
case "lens", "visualization", "map": |
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.
LGTM, just out of curiosity , no being where this warning is triggered, how can this be tested? thx
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.
You can run the following command to test from a package directory:
elastic-package check
You can find packages to test in https://github.com/elastic/integrations/
These errors will be displayed only as warnings, unless you set the environment variable PACKAGE_SPEC_WARNINGS_AS_ERRORS=true
.
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.
thx!
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.
Just as a note, this is going to be applied independently of the spec version used in the packages.
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.
Just as a note, this is going to be applied independently of the spec version used in the packages.
I think this is fine, as it will only produce validation errors in v3.
Fix #633