Module: LaunchDarkly::Impl::FileData::DuplicateKeysHandling Private
- Defined in:
- lib/ldclient-rb/impl/file_data/merge.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Values for the duplicate keys handling option. They select what happens when the same flag or segment key appears in more than one document.
Constant Summary collapse
- FAIL =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
A duplicated key makes the merge fail.
:fail- IGNORE =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Only the first occurrence of a duplicated key is kept, in the order the documents were given.
:ignore- ALL =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
[FAIL, IGNORE].freeze