Skip to content

Conversation

postindustria-code
Copy link

@postindustria-code postindustria-code commented Sep 2, 2025

Service Changes

The changes were implemented by analogy with the existing Java implementation.


Key Modifications

  1. Debug Mode Check

    • In the following methods:
      • AmpAuction
      • VideoAuctionEndpoint
      • auctionparseRequest
    • Before calling validateRequest, the incoming request is checked for execution in debug mode.
    • The debug flag is then passed to:
      • validateRequest
      • validateEidPermissions
  2. Extended Warnings in validateEidPermissions

    • Added:
      warnings := make([]error, 0)
    • Warnings are collected only when debug mode is enabled.
    • This allows developers or integrators to see additional diagnostic information during debugging without affecting standard request flow.

Result

  • The system now provides better transparency in debug mode, surfacing warnings that would otherwise be hidden.
  • Normal execution flow remains unaffected for non-debug requests.
  • Aligns Go implementation with the Java version, ensuring consistent behavior across platforms.

…re in the validateEidPermissions method; Changed the handling of return values from the validateEidPermissions method - checking for Fatal errors; Fixed tests
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.

2 participants