Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SerializerTrait and deprecate certain methods #625

Merged
merged 1 commit into from
Jul 10, 2024
Merged

Conversation

Spomky
Copy link
Contributor

@Spomky Spomky commented Jul 10, 2024

Implemented SerializerTrait to handle serialization of objects in certain Doctrine types. Deprecated jsonSerialize method in PublicKeyCredentialDescriptorCollection, and createFromString/createFromArray methods in PublicKeyCredentialDescriptor and AttestedCredentialData. These classes and methods will be removed in the 5.0.0 release, and users should use the serializer instead.

Target branch: 4.9.x
Resolves issue #

  • It is a Bug fix
  • It is a New feature
  • Breaks BC
  • Includes Deprecations

@Spomky Spomky added this to the 4.9.0 milestone Jul 10, 2024
@Spomky Spomky self-assigned this Jul 10, 2024
Introduce the `SerializerTrait` to handle serialization and deserialization for Doctrine Types. This refactoring deprecated and replaced the previous ways in these types: `PublicKeyCredentialDescriptorType`, `AttestedCredentialDataType`, `TrustPathDataType`. Meanwhile, test entities were removed, some deprecated methods related to serialization were marked, and the database configuration was updated in the test environment.
@Spomky Spomky merged commit ecf6752 into 4.9.x Jul 10, 2024
15 checks passed
@Spomky Spomky deleted the bugs/doctrine-types branch July 10, 2024 15:47
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.

1 participant