Skip to content

add meta#2438

Open
Forsworn24 wants to merge 2 commits intorails-api:0-10-stablefrom
Forsworn24:0-10-stable
Open

add meta#2438
Forsworn24 wants to merge 2 commits intorails-api:0-10-stablefrom
Forsworn24:0-10-stable

Conversation

@Forsworn24
Copy link
Copy Markdown

Purpose

Changes

Caveats

Related GitHub issues

Additional helpful information

@Forsworn24 Forsworn24 closed this Oct 15, 2022
@Forsworn24
Copy link
Copy Markdown
Author

i want

@Forsworn24 Forsworn24 reopened this Oct 15, 2022
hash[:meta] = instance_options[:meta]

if instance_options[:meta].blank?
hash[:meta] ||= {}
Copy link
Copy Markdown
Member

@bf4 bf4 Oct 16, 2022

Choose a reason for hiding this comment

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

so, always add document meta? If so, then no need to check blank, ||= would be find

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