Skip to content

[DIDDocument tests] normalized = false doesn't generate compact documents #76

@BenjaminPiette

Description

@BenjaminPiette

All calls to did document serialization with normalized = false should generate a compact version of did documents (without authentication, controller, public key type...). But currently, the generated content is normalized (not compact).

Reason: because even if we use @JsonSerialize with things like using: DIDDocumentPublicKeySerializerFilter.serialize, in fact the "include()" method doesn't seem to be called and the one from the base class PropertySerializerFilter is called. Looks like static methods cannot be inherited in javascript? Unable to breakpoint in the overriding include().

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions