Skip to content
This repository was archived by the owner on Jun 13, 2025. It is now read-only.

Feature Request: Overload toString #3

@brianjahnke

Description

@brianjahnke

Hi,

at the moment the Infomodel does not overload the toString method and I would like to propose the toString method to return the same output as the toRdf method.

The output of toString at the moment look quite similiar to the output of toRdf, which leads to rather hard to spot errors.
Also it would make it possible to drop the toRdf in some cases (e.g. when creating a HttpResponse in a SpringBoot controller where a Infomodel Object is returned as body), where the toString is automatically called.
This would make the usage easier and safer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions