Skip to content

fix: use profile strings instead of CredentialFormat enum for format matching#993

Merged
paullatzelsperger merged 2 commits into
eclipse-edc:mainfrom
paullatzelsperger:fix/amend_switch_to_profile_strings
May 21, 2026
Merged

fix: use profile strings instead of CredentialFormat enum for format matching#993
paullatzelsperger merged 2 commits into
eclipse-edc:mainfrom
paullatzelsperger:fix/amend_switch_to_profile_strings

Conversation

@paullatzelsperger
Copy link
Copy Markdown
Member

What this PR changes/adds

Replace CredentialFormat enum comparison with raw profile string comparison in
CredentialWriterImpl and switch CredentialDefinitionDto to resolve formats via
CredentialProfile, which supports profile-based format strings.

Why it does that

amend previous changes

Further notes

List other areas of code that have changed but are not necessarily linked to the main feature. This could be method
signature changes, package declarations, bugs that were encountered and were fixed inline, etc.

Who will sponsor this feature?

Please @-mention the committer that will sponsor your feature.

Linked Issue(s)

Closes # <-- insert Issue number if one exists

Please be sure to take a look at the contributing guidelines and our etiquette for pull requests.

@paullatzelsperger paullatzelsperger requested a review from a team as a code owner May 21, 2026 09:42
@paullatzelsperger paullatzelsperger added dcp breaking-change Will require manual intervention for version update labels May 21, 2026
@paullatzelsperger paullatzelsperger added the enhancement New feature or request label May 21, 2026
…matching

Replace CredentialFormat enum comparison with raw profile string comparison in
CredentialWriterImpl and switch CredentialDefinitionDto to resolve formats via
CredentialProfile, which supports profile-based format strings.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@paullatzelsperger paullatzelsperger force-pushed the fix/amend_switch_to_profile_strings branch from e407092 to 4f6d95c Compare May 21, 2026 09:56
@paullatzelsperger paullatzelsperger merged commit 12bc290 into eclipse-edc:main May 21, 2026
1 check passed
@paullatzelsperger paullatzelsperger deleted the fix/amend_switch_to_profile_strings branch May 21, 2026 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking-change Will require manual intervention for version update dcp enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants