-
Notifications
You must be signed in to change notification settings - Fork 8.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
[utils] add util for converting between es and kibana types #11967
Merged
spalger
merged 12 commits into
elastic:master
from
spalger:share/es-kbn-type-conversion
May 24, 2017
Merged
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
23b5e47
[utils] add util for converting between es and kibana types
spalger 89b9300
[utils/kbnFieldTypes] use random strings instead of numbers
spalger 11c45b2
[utils/kbnFieldTypes] ensure that castEsToKbnFieldType() returns corr…
spalger c4c6422
[utils/kbnFieldTypes] change getEsTypes() -> getKbnTypeNames()
spalger 87013de
[fieldEditor] update test to validate limited type support
spalger 4237f12
[fieldEditor] unexpected scripted field langs should list all kbn types
spalger a6e90e4
[test/stubbedLogstashIndexPattern] fix kbnFieldType use
spalger ec00377
[utils/kbnFieldTypes] remove unused castEsToKbnFieldType() fn
spalger 56b36ed
[utils/kbnFieldTypes] don't use Object.freeze()
spalger 2b65f6c
[fixtures/logstashFields] fix use of "unknown" and "conflict" types
spalger 6c081ac
[stubs/logstashFields] mention why "conflict" is special
spalger a4754aa
[utils/kbnFieldTypes] check complete output of getKbnTypeNames()
spalger File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
68 changes: 0 additions & 68 deletions
68
src/ui/public/index_patterns/__tests__/_cast_mapping_type.js
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
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.
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.
My preference in
beforeEach
: if it gets overridden in any test, it should always be handled within each test (so I onlybeforeEach
something if it concerns all the tests it covers, otherwise I find it just becomes more difficult to track the state of things)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 tried to do something like this at first but it just spiraled out of control and changed way too much stuff.
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.
No worries, just skip it if it adds noise to this PR