Skip to content

Conversation

@timothee-haudebourg
Copy link
Contributor

@timothee-haudebourg timothee-haudebourg commented Jun 3, 2025

Description

Adds the missing name and description properties to the credential type, and use the proper trait for the name property in the credential trait. Also get rids of the Description type parameter (use an existential type instead).

Other changes

  • Rename the InternationalString trait into AnyInternationalString to avoid ambiguities with the InternationalString type.
  • Adds a AnyInternationalString::get_language trait method to query a string in a given language.
  • Adds a few implementations of AnyInternationalString for basic types, such as str.
  • Basic comparison for international strings.

@timothee-haudebourg timothee-haudebourg marked this pull request as ready for review June 3, 2025 08:49
@timothee-haudebourg timothee-haudebourg force-pushed the improve-vcdm2-name-and-description branch from 184e746 to f01084b Compare June 3, 2025 09:24
@timothee-haudebourg timothee-haudebourg merged commit a38629b into main Jun 3, 2025
3 checks passed
@timothee-haudebourg timothee-haudebourg deleted the improve-vcdm2-name-and-description branch June 3, 2025 09:41
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.

4 participants