Skip to content

FUND-2062 Get bsn_encr value#175

Merged
ragaumon merged 1 commit intomainfrom
fix/get_bsn
Apr 16, 2026
Merged

FUND-2062 Get bsn_encr value#175
ragaumon merged 1 commit intomainfrom
fix/get_bsn

Conversation

@ragaumon
Copy link
Copy Markdown
Contributor

Pull Request

Description

For Get use bsn_encrypt field

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation

Related Issues

Testing

  • Tests pass
  • Manual testing completed

Checklist

  • Self-review completed
  • Documentation updated (if needed)

Copilot AI review requested due to automatic review settings April 16, 2026 11:43
@ragaumon ragaumon added Bug Something isn't working Zaken API Related to Zaken (ZRC) component labels Apr 16, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the Zaken API response mapping for NatuurlijkPersoonZaakRol so GET responses use the new inpbsn_encrypted-backed field rather than the legacy inpbsn field, and aligns the unit test accordingly.

Changes:

  • Map NatuurlijkPersoonZaakRolDto.InpBsn from NatuurlijkPersoonZaakRol.InpBsnEncrypted in DomainToResponseProfile.
  • Update mapping unit test to assert InpBsn comes from InpBsnEncrypted.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
src/OneGround.ZGW.Zaken.Web/MappingProfiles/v1/DomainToResponseProfile.cs Changes response mapping to use InpBsnEncrypted for GET output.
src/Tests/OneGround.ZGW.Zaken.WebApi.UnitTests/MappingTests/DomainToResponseProfileTests.cs Updates mapping test expectation to match the new source field.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown
Contributor

@heuvea heuvea left a comment

Choose a reason for hiding this comment

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

Check the co-pilot hints

@ragaumon ragaumon merged commit ff9ea60 into main Apr 16, 2026
11 checks passed
@ragaumon ragaumon deleted the fix/get_bsn branch April 16, 2026 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Something isn't working Zaken API Related to Zaken (ZRC) component

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants