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

Revert removal of JSON-LD array compacting #102

Merged
merged 2 commits into from
Dec 5, 2023
Merged

Conversation

reinkrul
Copy link
Member

@reinkrul reinkrul commented Dec 5, 2023

No description provided.

func PluralValueOrMap(key string) Normalizer {
// Unplural returns a Normalizer that converts arrays with a single value into a singular value. It is the opposite
// of the Plural normalizer.
func Unplural(key string) Normalizer {
Copy link
Member Author

Choose a reason for hiding this comment

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

looks a bit weird for reversal, but I removed the unused PluralValueOrMap func

@reinkrul reinkrul merged commit d6ecdcf into master Dec 5, 2023
1 check passed
@reinkrul reinkrul deleted the revert-vc-compacting branch December 5, 2023 12:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants