Skip to content

Conversation

@Brajmohank1
Copy link

Type of Change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring
  • Dependency updates

Description

Additional Changes

  • This PR modifies the database schema (database migration added)
  • This PR modifies dhall configs/environment variables

Motivation and Context

How did you test it?

Checklist

  • I formatted the code and addressed linter errors ./dev/format-all-files.sh
  • I reviewed submitted code
  • I added unit tests for my changes where possible
  • I added a CHANGELOG entry if applicable

@Brajmohank1 Brajmohank1 force-pushed the integrating-async-api-for-pan-gst branch from 76f1861 to 48271fa Compare September 12, 2025 13:57
(Nothing, Just pan, Nothing, Nothing) -> pure (PanResult (Output (Just pan) Nothing))
(Nothing, Nothing, Just gst, Nothing) -> pure (GstResult (Output (Just gst) Nothing))
(Nothing, Nothing, Nothing, Just rc) -> pure (RCResult (Output Nothing (Just rc)))
_ -> fail "Unable to decode IdfyResult"
Copy link
Contributor

@roman-bodavskiy roman-bodavskiy Sep 16, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think final parsing can fail here, because three values of this tuple mDL, mPan, mGst potentially can be Just
For example this one
mPan :: PanVerificationOutput <- o .:? "source_output"

PanVerificationOutput data type have only optional fields and even empty object will be parsed as Just pan
Maybe there is other way how we can differentiate between these three cases?

@Brajmohank1 Brajmohank1 force-pushed the integrating-async-api-for-pan-gst branch 3 times, most recently from bf3d342 to baa4039 Compare September 18, 2025 05:49
@Brajmohank1 Brajmohank1 force-pushed the integrating-async-api-for-pan-gst branch from 5bdadb3 to f7ad416 Compare October 6, 2025 07:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants