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

Feature Request: Overload toString #3

Open
brianjahnke opened this issue May 20, 2021 · 0 comments
Open

Feature Request: Overload toString #3

brianjahnke opened this issue May 20, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@brianjahnke
Copy link

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.

@brianjahnke brianjahnke changed the title Feature Request: overload toString Feature Request: Overload toString May 20, 2021
@maboeckmann maboeckmann added the enhancement New feature or request label Jun 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants