microsoft / terraform-provider-power-platform

Power Platform Terraform Provider
https://registry.terraform.io/providers/microsoft/power-platform/latest/docs
MIT License
35 stars 13 forks source link

Refactor models #457

Closed mawasile closed 1 month ago

mawasile commented 2 months ago

This pull request includes several changes focused on renaming DTO (Data Transfer Object) types to follow a consistent camelCase naming convention and removing an unused constant. The changes span multiple files and functions, ensuring that the new naming convention is applied uniformly across the codebase.

DTO Renaming:

Constant Removal:

Type Renaming for Consistency:

Removal of Unnecessary Constants:

codecov-commenter commented 1 month ago

Codecov Report

Attention: Patch coverage is 82.80347% with 119 lines in your changes missing coverage. Please review.

Project coverage is 76.38%. Comparing base (3ec1e19) to head (3f5a3cb). Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
internal/provider/provider.go 30.47% 73 Missing :warning:
internal/services/tenant_settings/dto.go 87.61% 12 Missing and 1 partial :warning:
...l/services/connection/resource_connection_share.go 40.00% 6 Missing :warning:
internal/services/connection/api_connection.go 82.75% 4 Missing and 1 partial :warning:
internal/api/auth.go 0.00% 4 Missing :warning:
internal/services/environment_settings/models..go 85.18% 3 Missing and 1 partial :warning:
...ronment_settings/resources_environment_settings.go 60.00% 4 Missing :warning:
internal/services/authorization/api_user.go 84.21% 3 Missing :warning:
...rvices/environment_groups/api_environment_group.go 77.77% 2 Missing :warning:
internal/services/application/api_application.go 91.66% 1 Missing :warning:
... and 4 more
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #457 +/- ## ========================================== - Coverage 76.56% 76.38% -0.18% ========================================== Files 95 98 +3 Lines 11270 11207 -63 ========================================== - Hits 8629 8561 -68 - Misses 2043 2048 +5 Partials 598 598 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.