Skip to content

Commit

Permalink
Fixed actually getting values
Browse files Browse the repository at this point in the history
  • Loading branch information
Daeda88 committed Nov 14, 2024
1 parent 59fb0fd commit 3a28cbe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public class FieldValuesDSL internal constructor() : EncodeSettings.Builder {

@PublishedApi
internal val fieldValuesToAdd: MutableList<() -> Any> = mutableListOf()
internal val fieldValues = fieldValuesToAdd.map { valueToEncode ->
internal val fieldValues get() = fieldValuesToAdd.map { valueToEncode ->
valueToEncode.invoke()
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public class FieldsAndValuesUpdateDSL internal constructor() : EncodeSettings.Bu

@PublishedApi
internal val fieldAndValueToAdd: MutableList<() -> FieldAndValue> = mutableListOf()
internal val fieldsAndValues = fieldAndValueToAdd.map { fieldAndValueToEncode ->
internal val fieldsAndValues: List<FieldAndValue> get() = fieldAndValueToAdd.map { fieldAndValueToEncode ->
fieldAndValueToEncode.invoke()
}

Expand Down

0 comments on commit 3a28cbe

Please sign in to comment.