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.

Since:

  • 5.5.0

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.

Since:

  • 5.5.0

: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.

Since:

  • 5.5.0

: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.

Since:

  • 5.5.0

[FAIL, IGNORE].freeze