Skip to content
This repository was archived by the owner on Aug 1, 2023. It is now read-only.

Conversation

pratikmallya
Copy link
Contributor

This helper method is useful when the contents need to be
displayed.

This helper method is useful when the contents need to be
displayed.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the use-case for this? The gophercloud.Links should be formatted if they are in the result and gophercloud.Result.PrettyPrintJSON is called. When would you need to format the links separately?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jrperritt that will format the entire result as JSON; but there are cases where we don't want all the result as JSON, only the links. e.g. https://github.com/rackspace/rack/pull/346/files#diff-89ed2b55dee1ba0cb9742aba85a8f6deR58

@pratikmallya
Copy link
Contributor Author

After discussing further, I agree we do not need this method

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants