Skip to content

Commit

Permalink
Add doc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcardell committed May 9, 2024
1 parent b256d3f commit 3fc5e5c
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@ trait FliptApi[F[_]] {
def evaluateVariant(
request: EvaluationRequest
): F[VariantEvaluationResponse]

/** If a variant matches, attempt to deserialise a variant attachment
*
* This method assumes all variant attachments match the JSON model of the
* type parameter
*/
def evaluateStructuredVariant[A: Decoder](
request: EvaluationRequest
): F[Either[AttachmentDecodingError, StructuredVariantEvaluationResponse[A]]]
Expand Down

0 comments on commit 3fc5e5c

Please sign in to comment.