Skip to content

Commit

Permalink
add missing parameter documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdeem committed Sep 9, 2024
1 parent 83f8cf7 commit 2157d99
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Sources/EnvironmentDecoder/EnvironmentDecoder.swift
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,12 @@ public final class EnvironmentDecoder {
private let unkeyedContainerSeparator: String

/// Initializes `self` with default configuration.
/// - Parameter dataDecodingStrategy: the strategy to use for decoding Data.
/// - Parameters:
/// - dataDecodingStrategy: the strategy to use for decoding Data.
/// - dateDecodingStrategy: the strategy to use for decoding Date.
/// - prefixKeysWithCodingPath: if true keys used to index the environment dictionary are prefixed by the coding path
/// - trimWhitespaceFromUnkeyedContainerValues: if true, whitespace is trimmed from both ends of unkeyed container values; if false, the whitespace is included in the value
/// - unkeyedContainerSeparator: the character used to split elements in an unkeyed container
///
/// - Note: dataDecodingStrategy is ignored for Data in an unkeyed container - base64 is always used.
public init(dataDecodingStrategy: DataDecodingStrategy = .base64,
Expand Down

0 comments on commit 2157d99

Please sign in to comment.