Skip to content

Copies of RelyingPartyRegistration should preserve custom fields #12841

Closed
@jzheaux

Description

@jzheaux

When using RelyingPartyRegistration#withRelyingPartyRegistration as a copy constructor, custom data in subclasses cannot be preserved.

Instead of a static copy constructor, we should add a mutate() method that creates a builder based on an existing instances implementation. Then, subclasses of RelyingPartyRegistration can override the implementation to preserve custom data.

This will also ensure custom data like #12685 is preserved even when placeholder resolution is involved.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions