Skip to content

Conversation

@petruki
Copy link
Member

@petruki petruki commented Jul 8, 2025

This pull request introduces enhancements to the feature request handling system, including support for additional parameter types, improved parameter validation logic, and expanded test coverage to ensure robustness. The changes primarily focus on extending functionality for feature parameters, refining the service logic, and improving test reliability.

Enhancements to feature request handling:

  • src/dto/feature-request.ts: Added support for new Strategy parameter types (number, date, time, payload, regex, network) in the FeatureRequestDto type. These parameters are now optional.
  • src/services/feature.ts: Refactored FeatureService to include handlers for validating the new parameter types using the Client library. Validation logic is now dynamically applied based on parameter keys.

Improvements to testing:

@petruki petruki added this to the v1.1.1 milestone Jul 8, 2025
@petruki petruki self-assigned this Jul 8, 2025
@petruki petruki added the enhancement New feature or request label Jul 8, 2025
@sonarqubecloud
Copy link

sonarqubecloud bot commented Jul 8, 2025

@petruki petruki merged commit 7d017d3 into master Jul 8, 2025
5 checks passed
@petruki petruki deleted the staging branch July 8, 2025 04:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants