You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Was this intentional? If so, is there a technical reason or was it a stylistic one?
I don't think there's a technical issue on the Integrations Manager side, but "version.min" isn't very Javascript-y or common the the APIs I personally consume.
Yeah, version: { min: 7.0.0 } is what I'd expect for nested values.
If we don't think we'll add many more items under version, or as siblings, we could keep them flattened. In that case versionMin is the most idiomatic, but version_min is acceptable.
The challenge is that . can't be in an identifier in JS, so you're forced to access like kibana['version.min'] with the current approach
My personal preference is version: { min: 7.0.0 }. If I remember correctly, I added the prefix version as I expect more things to show up under kibana like which plugins are installed etc. This makes it more obvious that we talk about the version here.
For the dot notation vs versionMin and version_min: I'm just very used to it from ECS and Beats.
Activity
ruflin commentedon Aug 12, 2019
If I remember correctly, it was a stylistic one. If it is
version: { min: 7.0.0 }that would work better?jfsiii commentedon Aug 14, 2019
Yeah,
version: { min: 7.0.0 }is what I'd expect for nested values.If we don't think we'll add many more items under
version, or as siblings, we could keep them flattened. In that caseversionMinis the most idiomatic, butversion_minis acceptable.The challenge is that
.can't be in an identifier in JS, so you're forced to access likekibana['version.min']with the current approachruflin commentedon Aug 14, 2019
My personal preference is
version: { min: 7.0.0 }. If I remember correctly, I added the prefixversionas I expect more things to show up underkibanalike which plugins are installed etc. This makes it more obvious that we talk about the version here.For the dot notation vs
versionMinandversion_min: I'm just very used to it from ECS and Beats.Details page (#43062)
change version
Adjust API output for Kibana compatibility version
Adjust API output for Kibana compatibility version
Adjust API output for Kibana compatibility version (#134)